Skip to content

darvasd/gitbook-plugin-graphviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitbook-plugin-graphviz

Graphviz support for GitBook

Build Status

Based on vowstar/gitbook-plugin-uml and viz.js.

Usage

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

Alternative format:

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

Configuration

Configure the plugin in book.json.

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

About

Graphviz support for GitBook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published