5 ms·
I'd still love to see a graphviz equivalent for JS that does layout for digraphs. This looks cool if you need undirected graphs, but doesn't seem to have any d
by haberman 13y ago
I'd still love to see a graphviz equivalent for JS that does layout for digraphs. This looks cool if you need undirected graphs, but doesn't seem to have any digraph support.
- jweir 13y agoI have never used it, but vis.js supports the DOT language. http://visjs.org/docs/graph.html http://visjs.org/docs/graph.html
- davidjgraph 13y agoTry https://github.com/cpettitt/dagre https://github.com/cpettitt/dagre , it's using some of the latest and most performant algos, really nice + a D3 renderer.
- simonsarris 13y agoThe library that I make, GoJS (http://www.gojs.net/ http://www.gojs.net/) has a tree layout and layered digraph layout, both with many options. Here's an overview of the options for the layered digraph layout: http://www.gojs.net/latest/samples/ldLayout.html http://www.gojs.net/latest/samples/ldLayout.html The tree layout supports some fairly complicated tree structures, including ones that alternate or have different configurations for leaves: http://www.gojs.net/latest/samples/tLayout.html http://www.gojs.net/latest/samples/tLayout.html Disclosure: I'm a developer of this library and it is not free.
- davidjgraph 13y agoAlso commercial with digraph layout functionality: http://www.lassalle.com/ http://www.lassalle.com/ http://www.jgraph.com/ http://www.jgraph.com/ http://www.tensegrity-software.com/category/javascript-html5-canvas/ http://www.tensegrity-software.com/category/javascript-html5... http://www.yworks.com/en/products_yfileshtml_about.html http://www.yworks.com/en/products_yfileshtml_about.html