Skip to content
Graphviz support for GitBook
JavaScript
Branch: master
Clone or download
This branch is 4 commits ahead of darvasd:master.

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

gitbook-plugin-graphviz

Graphviz support for GitBook

Forked from darvasd

Add support of viz.js's support engines.

Usage

```dot
digraph G {
	A -> B -> C;
}
```

Alternative format:

{% graphviz dot %}
digraph G {
	A -> B -> C;
}
{%endgraphviz %}

Configuration

Configure the plugin in book.json.

"plugins": [
      "graphviz@git+https://github.com/Gowa2017/gitbook-plugin-graphviz.git"
  ],
"pluginsConfig": {
    "graphviz": {
        "format": "svg"
    }
}
Variable Description
format Output format. Can be: svg, xdot, plain, json.
engine Graphviz engine to be used. Can be: dot, circo, neato, osage, twopi.

Bug

Whe use with meriamd V8, the node's style is overrided by mermaid's style.

You can’t perform that action at this time.