0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/discourse-graphviz
2026-02-03 15:45:35 +01:00
..
assets DEV: Solve/LTTF more ember lints (#37448) 2026-02-03 15:45:35 +01:00
config Update translations (#36623) 2025-12-11 09:27:48 +01:00
public/javascripts
spec/system
.prettierignore
CHANGELOG.md
LICENSE.md
package.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00
plugin.rb UX: add admin sidebar icons for preinstalled plugins (#36764) 2025-12-18 16:39:00 -05:00
README.md DEV: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
tsconfig.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00
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]