8 ms·
> but the bundle is enormous - over a megabyte of data If only DOT layout engine and JSON output format is enabled at compile time it is about 600KiB, or less
by rapidlua 6y ago
> but the bundle is enormous - over a megabyte of data
If only DOT layout engine and JSON output format is enabled at compile time it is about 600KiB, or less than 200KiB Gzipped. https://github.com/rapidlua/viz.js https://github.com/rapidlua/viz.js
> A nice thing about having an SVG render is that it's very easy to attach events, and inline SVGs can be styled with CSS.
Indeed it’s super handy! I’m using this approach in https://LuaJIT.me https://LuaJIT.me to produce an interactive visualisation of a graph of traces in a JIT compiler.