HTML connected graph drawing
Exists an algorithm that calculate the position of nodes of a connected graph? I like to draw the n开发者_高级运维odes of the graph as HTML DIV and have an algorithm that allows to positionate the nodes on the html page (using absolute position) according to the connections , like a mind map.
Generate SVG from dot, and write an XSLT that translates the SVG xml into the required HTML (on the server side).
Or, if you don't care about IE versions less than 9, just serve the SVG
精彩评论