discourse/plugins/discourse-graphviz
2025-08-21 11:02:39 +02:00
..
assets Build(deps-dev): Bump the lint group across 1 directory with 4 updates (#33881) 2025-07-28 18:02:41 +02:00
config Update translations (#34436) 2025-08-21 11:02:39 +02:00
public/javascripts
spec/system
.prettierignore
CHANGELOG.md
LICENSE.md
plugin.rb
README.md
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 defintion 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]