dundalek / atom-markdown-mindmap

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

Add fold all nodes feature #19

Open avkonst opened 7 years ago

avkonst commented 7 years ago

I have got huge mindmap and I would like to fold all nodes quickly.

dundalek commented 7 years ago

Could you describe it more? There is already a feature that if you click the small circle of the node it collapses its children.

avkonst commented 7 years ago

I have got huge multi level map, I would like to close all nodes starting from a specific level, let's say from level 2 or 3. When it is folded to this small map, it is easier to find necessary subranches to unfold. So, I may go and unfold only specific branches of interest. Currently when I click on a node (let's say root node), it closes all the branches. When I click to unfold it, it unfolds all the same large branches.

dundalek commented 7 years ago

I see, this makes sense. Though I am not sure how the user interface would look like for this feature. Do you have any suggestions?

avkonst commented 7 years ago

Maybe an additional dot (or other symbol) along side current single dot on the root element?

avkonst commented 7 years ago

If a user needs to specify depth of such folding, such as starting from the second or third level branches, it could be 2 additional dots along side the current single dot on the root element.. or a context menu if it can work in the file for publishing (svg I assume currently).

avkonst commented 7 years ago

One additional dot and folding starting from the second level branches would be sufficient. Frankly speaking, publishing capability - "an interactive & distributable single file document which anybody can open in a browser without dependencies" is way-way more important.