Exists an algorithm that calculate the position of nodes of a connected graph? I like to draw the nodes 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.
A:
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
Rob Fonseca-Ensor
2010-04-20 11:38:12
Without SVG? i would use only css and html. The arrows can be displayed using canvas, but i have problems to calculate the node position on the page.
Simone Vellei
2010-04-20 11:54:08
Rob Fonseca-Ensor
2010-04-20 12:09:13