2.2.1 • Published 3 years ago

@proton/vuepress-plugin-graphviz v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

VuePress Plugin for graphviz (Viz.js)

Use graphviz Diagrams in VuePress

This VuePress plugin provides a global component wrapping Graphviz (via Viz.js fork by aduh95. The plugin is designed to work with VuePress v1.x.

Main documentation site is at https://awwaiid.github.com/vuepress-plugin-graphviz.

Installation

You can install it with

yarn add -D vuepress-plugin-graphviz

or

npm install --save-dev vuepress-plugin-graphviz

Then you just need to register the plugin in your .vuepress/config.js:

module.exports = {
    // ...
    plugins: [
        'vuepress-plugin-graphviz'
    ]
    // ...
}

Usage

The recommended usage is to place your graphviz diagrams inside a fenced code block with the language 'graphviz':

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

Credits

This work is based directly off of vuepress-plugin-mermaidjs.

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago