dundalek / atom-markdown-mindmap

Visualize markdown files as mindmaps in Atom editor
Other
117 stars 31 forks source link

Editing file in Atom unfolds previously folded branches #20

Closed avkonst closed 5 years ago

avkonst commented 7 years ago

This is another suggestion. I have got huge mindmap, like 1000x elements, 7 levels of nesting. At a time I explore / edit only subset of the map, trying to keep irrelevant branches closed for easy of navigation. However, when I add new items to the map, all branches are unfolded again, and it becomes not usable again. Folding all unnecessary branch again is even more inconvenient.

dundalek commented 7 years ago

I confirm this is an inconvenient behavior. Since the changes come through markdown text there is no straightforward way to map the changes to data structure changes. We would have to implement some kind of tree diffing. Hopefully I will come up with a simple enough solution, but I can't promise anything.

dundalek commented 5 years ago

With the support of links to other files this issue is really annoying me now. I am moving it to the top of the priority list and hopefully will get to implementing it soon.

dundalek commented 5 years ago

This is now fixed in the latest version (0.6.0).