# gitbook-plugin-viz.js

> Viz.js (Graphviz, dot) plugin for GitBook

Latest version **0.1.6** (published 2018-05-16) · BSD license · 0 weekly downloads

## Install

```sh
npm install gitbook-plugin-viz.js
pnpm add gitbook-plugin-viz.js
yarn add gitbook-plugin-viz.js
bun add gitbook-plugin-viz.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2018-05-16 |
| First published | 2016-07-25 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dotdoom |

## Links

- npm: https://www.npmjs.com/package/gitbook-plugin-viz.js
- Repository: https://github.com/dotdoom/gitbook-plugin-viz.js
- Issues: https://github.com/dotdoom/gitbook-plugin-viz.js/issues
- npm.io page: https://npm.io/package/gitbook-plugin-viz.js

## Dependencies (1)

- [viz.js](https://npm.io/package/viz.js.md) ^1.3.0

## Recent versions

- 0.1.6 (latest) — 2018-05-16
- 0.1.5 — 2016-07-29
- 0.1.1 — 2016-07-25
- 0.1.0 — 2016-07-25

## README

# GitBook Viz.js plugin

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url]

[Viz.js](https://github.com/mdaines/viz.js) plugin for gitbook.

Example usage:

```
{% graphviz engine="dot" %}
# http://www.graphviz.org/content/cluster

digraph G {

	subgraph cluster_0 {
		style=filled;
		color=lightgrey;
		node [style=filled,color=white];
		a0 -> a1 -> a2 -> a3;
		label = "process #1";
	}

	subgraph cluster_1 {
		node [style=filled];
		b0 -> b1 -> b2 -> b3 -> b0 -> b0;
		label = "process #2";
		color=blue
	}
	start -> a0;
	start -> b0;
	a1 -> b3;
	b2 -> a3;
	a3 -> a0;
	a3 -> end;
	b3 -> end;

	start [shape=Mdiamond];
	end [shape=Msquare];
}
{% endgraphviz %}
```

[npm-url]: https://npmjs.org/package/gitbook-plugin-viz.js
[downloads-image]: http://img.shields.io/npm/dm/gitbook-plugin-viz.js.svg
[npm-image]: http://img.shields.io/npm/v/gitbook-plugin-viz.js.svg

---
_Source: https://npm.io/package/gitbook-plugin-viz.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
