0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 10:47:18 +08:00
discourse/plugins/discourse-graphviz/README.md

25 lines
622 B
Markdown
Vendored

## discourse-graphviz
https://meta.discourse.org/t/graphviz-plugin/97554/
Adds [Graphviz](https://www.graphviz.org) capability to discourse.
Topic discussing the plugin itself can be found here: https://meta.discourse.org/t/graphviz-plugin/97554
### Usage
See the [Graphviz](https://www.graphviz.org/documentation/) site for documentation and examples.
To use with a discourse post, wrap the chart definition in `graphviz` tags and define engine (if not defined, it will default to `dot`) like this:
```
[graphviz engine=neato]
graph {
a -- b;
b -- c;
a -- c;
d -- c;
e -- c;
e -- a;
}
[/graphviz]
```