Graphviz Diagram PreviewAdds Graphviz (DOT) support to VS Code's built-in Markdown preview. Write DOT source in a fence tagged
Only Fence attributesAn optional attribute block after the tag adjusts how one diagram is presented:
Values are quoted. A mistyped or malformed attribute never costs you the diagram: it is ignored, and a note is written to the Graphviz Diagram Preview output channel. Errors and limitsA DOT syntax error is shown in place of the diagram, with the offending source line. Layout is limited to 3 seconds per diagram and 64 KB of source; a graph that takes longer shows a timeout message until its source changes. Graphviz warnings (unknown shapes, fonts without metrics) go to the output channel. Links ( FontsGraphviz measures text with built-in width tables, so labels fit their shapes
only for these families: Times / Times New Roman, Helvetica / Arial,
Courier / Courier New, DejaVu Sans, Consolas, Nunito, Trebuchet. Other fonts are
measured as Times, and a warning is written to the Graphviz Diagram Preview
output channel. Name a single family — a CSS-style list such as
LicenseMIT for this extension; bundled Graphviz is EPL-2.0 — see THIRD_PARTY_NOTICES.md. |