1

I've searched on the web for a code sample for creating a mind map using <canvas>. I've found that the infoVis toolkit samples use direct json for their mind map. I have a pre-constructed json and it will be a problem to convert it to the required format (id, children etc).

What I need is a way to convert a hierarchy of items into a map like visualization. Any help/ hint is appreciated

4

2 回答 2

2

查看d3.js的示例库是否有任何可能对您有所帮助的内容:

http://mbostock.github.com/d3/ex/

于 2011-07-19T07:30:20.887 回答
1

使用 jQuery 的思维导图。在这里检查。

http://www.jqueryrain.com/2013/04/mindmup-mapjs-zero-friction-mind-map-canvas-with-jquery/

于 2013-10-23T11:10:11.150 回答