4 ms·
I love Graphviz! It’s in the Observable standard library as the dot tagged template literal, powered by Viz.js. https://observablehq.com/@observablehq/dot http
by mbostock 5y ago
I love Graphviz! It’s in the Observable standard library as the dot tagged template literal, powered by Viz.js.
https://observablehq.com/@observablehq/dot https://observablehq.com/@observablehq/dot
Here’s a recent example where I used it to figure out why certain dependencies are in my node_modules:
https://twitter.com/mbostock/status/1479693504511053824 https://twitter.com/mbostock/status/1479693504511053824
- jahewson 5y agoIs there a fork of viz.js that’s still maintained? The original was abandoned in 2018.
- JohnHaugeland 5y agono. two steps above the abandoned version, before the web threads attempt, works quite nicely.
- funstuff007 5y agotwo commits previous or two releases previous to final version?
- rgovostes 5y agoThat said, compared to the visual clarity of most of the visualizations you share, the graphs that come out of Graphviz are pretty hard to read. If you zoom in and pan around you can easily get disoriented in some patch of nothing but spaghetti lines. This is definitely an area where some mbostock magic would be of huge benefit.