开发者

Do you know of any sample code showing how to draw a mind map using canvas?

开发者 https://www.devze.com 2023-03-21 12:27 出处:网络
I\'ve se开发者_开发问答arched 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-c

I've se开发者_开发问答arched 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


See if d3.js's sample gallery has anything that might help you:

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


Mindmap Using jQuery. Check it here.

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

0

精彩评论

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