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