observablehq / graphviz

A convenience method for using Graphviz.
https://beta.observablehq.com/@mbostock/graphviz
Other
39 stars 8 forks source link

@observablehq/graphviz

Convenience methods for using Graphviz in Observable. See this notebook for examples:

https://beta.observablehq.com/@mbostock/graphviz

To load Graphviz:

dot = require("@observablehq/graphviz")

To display a happy little diagram:

dot`graph { n0 -- n1 -- n2 -- n3 -- n0; }`