drichard/mindmaps

Question about node position calculation

ppazos opened this issue · 1 comments

I have a tree like structure and I want to visualize that using the mindmaps you developed, I can easily map my structure to your JSON format, everything but the node positions.

Do you have any functionality implemented to prevent node overlapping and connection crossing?

I'm looking for something that can calculate the node positions to avoid overlapping and crossing :)

Thanks!

Hey, no I don't have a good solution for that.
But have a look at the code, there is a dumb solution in there: If you create a new node with the TAB key it just puts the new node at a random position along the Y axis IIRC.