Qhtml 5 mindmap

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

AAnswer to: html 5 mindmap

Post a question

You can post JavaScript, HTML, CSS related questions with attached reference to actual codes and get the answers likewise.

Ask a question

  • 1. Click the ‘Post a question’ above

  • 2. Enter question details, reference code, and click ‘Add question’ button

  • 3. Question will be paired with the code on display

Add an answer

  • 1. Choose a question

  • 2. Enter answer details, attach the reference code and click ‘add answer’ button

  • 3. Your answer will accompanied with attached code