Live data from Hacker News

Convert Markdown to a Mind Map

markmap.js.org

31–40 of 81 posts

Re: Convert Markdown to a Mind Map

#32

Interesting. It would be good to have a more complex example as a guide for how the markdown should be structured.

So far I just think it's headers and lists: # This ## This branch ### This sub branch ### Another sub branch ## This other ## And another ## One more ### This one has a branch - one - more - thing ### and another branch - what - is - this

Had to go to other pages to find docs butt you can nest the lists too.

- melon

  - test

  - test2

    - and more

    - and more

Re: Convert Markdown to a Mind Map

#33
post #11

This is beautiful that's it but this is nothing considered to graphviz. If Graphviz had a decent, just non-ugly renderer it would be much more popular. Eg. Mind maps aren't trees- they are bigraphs, this is limited to trees. Someone needs to plug in this renderer with Graphviz.

> Mind maps aren't trees- they are bigraphs

Yes! So many of the mind-mapping software is limited to just trees, plus there's no way of styling some paths differently, the interface is far from ergonomic, in short: I couldn't find an interactive tool for drawing complex relationships between many kinds of content (I want to be able to put an image in one place, then paste a bit of some documentation in another, then connect them in some way, then repeat this 100 times and then have the tool "auto-layout" all the content.)

Here's the thing I'm currently trying to create: https://github.com/piotrklibert/awesome-config - I need it in SVG so that the links are working, plus it would be nice to be able to show/hide portions of the graph. I'm currently using Gliffy, but it's getting slower and buggier with every box added.

Any advice on what to use for things like these?

Re: Convert Markdown to a Mind Map

#34
post #5

Cool! Slightly related, I also like: https://www.diagram.codes/

Woooow also nice!!

I will try it out! I have a use case for this that has thousands, will try both tools out to see if I get better results than with my current d3 script that I found laying around on the internet.

Re: Convert Markdown to a Mind Map

#37
post #5

Cool! Slightly related, I also like: https://www.diagram.codes/

I guess it was done on purpose, but essentially it reminds me of the syntax for graphviz: https://graphviz.org/

This was my first thought as well. I use graphviz quite a lot for these sorts of diagrams, and I really like it. Their site, reference materials, etc. need updating though.

Re: Convert Markdown to a Mind Map

#38

I make an app for macOS that makes it easy to make offline viewers for documents like this ( https://repla.app/ ). Would anyone be interested in having an offline viewer for this? E.g., being able to drag a `mindmap.md` file to the app icon, and have it render the mindmap and automatically update when you make changes in your text editor. (I'm aware there are other ways to do offline views like this, happy to explain…

Yes. In fact, I was wondering if I could "just" run the REPL from the MarkMap website locally. Would make things a lot easier.

Re: Convert Markdown to a Mind Map

#40
post #11

This is beautiful that's it but this is nothing considered to graphviz. If Graphviz had a decent, just non-ugly renderer it would be much more popular. Eg. Mind maps aren't trees- they are bigraphs, this is limited to trees. Someone needs to plug in this renderer with Graphviz.

> Mind maps aren't trees- they are bigraphs Yes! So many of the mind-mapping software is limited to just trees, plus there's no way of styling some paths differently, the interface is far from ergonomic, in short: I couldn't find an interactive tool for drawing complex relationships between many kinds of content (I want to be able to put an image in one place, then paste a bit of some documentation in another, then c…

Not sure what gliffy is but Graphviz can conceptually draw the same thing. You can have box shapes and colors for nodes and edges both. However, the rendering layout itself is usually unpleasant. You can have some control but it's really suboptimal. As I said, Graphviz is both simple and very powerful so no reason to not use it to represent data in concept. Plus it goes in your VCS.
Post reply on HN