Home

In book.toml, make sure you have:

[preprocessor.graphviz]
command = "mdbook-graphviz"
output-to-file = false

[output.html]
additional-css = ["src/css/graph_style.css"]

graph_style.css will be served from the HTML root.

In page.md, graphs should reference the file name without the preceeding path:

%3aabba->b

It is also possible to alter element styles using JS if the SVG is rendered inline.

show / hide