dundalek / markmap

Visualize markdown documents as mindmaps
MIT License
1.67k stars 171 forks source link

Support for "content" nodes. #4

Open mralexgray opened 8 years ago

mralexgray commented 8 years ago

Love the module. It would be great though.. If there were another kind of expansion - one that could display the actual "content of the node".

In the case of the example.. clicking on "A General Theory ..." -> "Concepts" -> might actually be able to display (in a larger, different type of node, possibly...

For the purpose of discussion, we must establish a vocabulary. Some of these names have a long tradition, or at least some precedent in JavaScript. Some are disputed, borrowed, or fabricated. ...

Is this overkill / too specific for a generalized implementation such as this? Would a pull request with an implementation make you consider it?

screen shot 2016-01-31 at 7 35 09 am

dundalek commented 8 years ago

This is a good idea. It might be difficult to compute the layout when displaying the content within the tree itself. But another solution that serves the same purpose would be to open a popup with the content.

Do you use this component inside the Atom editor or separately in another project?

schoreZ commented 6 years ago

This is a great module, it's simple and elegant. I also love the idea that if the node could hold more text, maybe multiline. If auto layout is complex, is it possible for users to specify line breaks themselves, e.g. a backslash+space indicates a new line within the node? This could interfere with it's simplicity, though. It could spare the need of commercial mindmap tools to a greater extent if this is done.

juax335 commented 6 years ago

Is there any news on the pop up idea with additional content? I would love that feature ;).

dundalek commented on 6 Feb 2016 : "But another solution that serves the same purpose would be to open a popup with the content."

dundalek commented 6 years ago

@juax335 I am not working on this feature personally, but would be happy to merge a pull request if anyone from the community picks it up.

daya commented 4 years ago

:+1: This feature will make this already excellent project the best one out there.