mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-04-30 02:34:00 +08:00
| .. | ||
| assets | ||
| config | ||
| db/post_migrate | ||
| public/javascripts | ||
| spec | ||
| .prettierignore | ||
| CHANGELOG.md | ||
| LICENSE.md | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
| upgrade-viz-js.rb | ||
discourse-graphviz
https://meta.discourse.org/t/graphviz-plugin/97554/
Adds Graphviz capability to discourse.
Topic discussing the plugin itself can be found here: https://meta.discourse.org/t/graphviz-plugin/97554
Usage
See the Graphviz 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]