开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜