Features v1.0
Usage
-
Build an easy-to-use library -
Basic website with live examples -
Download page
Input
-
Load graph from JSON -
Create graph via API
Render
-
SVG output -
Animation support (rendered graph can be effectively updated) -
Drop D3.js ?
Nodes
-
Basic nodes -
Basic shape support -
Custom color -
Import/use SVG shapes from Dia
Edges
-
Basic arrows -
Arrow with waypoints (bezier line or plain zigzag line) -
Custom color -
Edge labels -
Library to calculate SVG intersections (so the arrow knows where to end) -
Calculate intersection with a generic SVG element (depends on templating engine) -
Arrow heads and tails (like graphviz)
Layout
-
Null layout (graph without layout is ok if all nodes are placed manually) -
Random layout (place all nodes to random coordinates) -
Use Dagre algorithm (used by Graphviz Dot; see Graphviz layouts) -
Subgraphs/clusters -
Precalculate bounding boxes (optimize width&height calculations, allow stretching and alignment of nodes)