mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 01:10:43 +08:00
This commit updates the graphviz plugin implementation to match the official Discourse mermaid theme-component. This moves the rendering to be 100% client-side and 100% SVG, with a builtin fullscreen view. The change improves image quality and simplifies the implementation. Graphviz diagrams will now adopt a fixed 16:9 size in posts, to avoid any scroll jumps.
6 lines
157 B
YAML
Vendored
6 lines
157 B
YAML
Vendored
en:
|
|
js:
|
|
graphviz:
|
|
composer_title: "Insert Graphviz graph"
|
|
composer:
|
|
graphviz_sample: "digraph G {\n a -> b;\n b -> c;\n a -> c;\n}"
|