I'm looking at ways to directly view FreeMind mind maps using D3 in web pages. I know you can export FreeMind mind maps to HTML but this is about a learning experience and updating my skills to the latest version of D3 (bit rusty).
Since FreeMind uses a basic XML structure its really easy to bring in the data and convert it over to JSON for viewing.
Rendering a mind map on the other hand is killing me. I did a bracket layout (
http://bl.ocks.org/jdarling/2503502) a while back, but as I said in the comments, it probably isn't the best approach I could take (two tree's and then doing some general offset to get them to line up left/right sides). So I'm hoping that someone can give me some pointers on how exactly I would do a nice left/right tree layout based on something like this:
Node={
id: '',
text: 'Text to display'
position: 'right'||'left'
children: [Node]
}
- Jeremy