2 ms·
- Dagre (deprecated, unfortunately): https://github.com/dagrejs https://github.com/dagrejs - Viz.js (via Emscripten): https://github.com/mdaines/viz.js https:/
by kjhughes 5y ago
- Dagre (deprecated, unfortunately): https://github.com/dagrejs https://github.com/dagrejs
- Viz.js (via Emscripten): https://github.com/mdaines/viz.js https://github.com/mdaines/viz.js; Online demo: http://viz-js.com/ http://viz-js.com/
- dylanowen 5y agoViz.js had some hard coded memory limits last time I checked. You can work around them on load, but it's annoying. Edit: GraphQL Voyager has the memory increase hack https://github.com/APIs-guru/graphql-voyager/blob/54a178142ae8554c41c92e785ea8886f18927017/src/utils/index.ts#L21 https://github.com/APIs-guru/graphql-voyager/blob/54a178142a...
- AtNightWeCode 5y agoI think dagre was ok but oversold the quality of the algos it used a bit. In many cases it can be better to use a SVG file generated from Graphviz directly instead.
- tunesmith 5y agoAn alternative to dagre-d3 is d3-dag: https://github.com/erikbrinkman/d3-dag https://github.com/erikbrinkman/d3-dag I've had good success with cytoscapejs as well, integrating with react so the graph will animate layout on transition. I use elk, which is apparently superior to sugiyama (the algorithm graphviz uses for force-directed dag layouts).