I've searched on the web for a code sample for creating a mind map using the canvas. I've found that the infovis toolkit samples use direct json for their mindmap. I have a preconstructed jsson 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 visualisation.
Any help/ hint is appreciated