dundalek / atom-markdown-mindmap

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

Size of node should adapt to content #24

Closed kindlychung closed 7 years ago

kindlychung commented 7 years ago

Example:

# Theorem
## Branch 1
### Step 1
#### $x^2 + y^2$
### Step 2 with a very long long long long long long long long long long 
### Step 3
## Branch 2
### Step 1
### Step 2
### Step 3
## Branch 3
### Step 1
### Step 2
### Step 3

dundalek commented 7 years ago

Definitely, we need a better layouting algorithm. I created an issue to track progress: https://github.com/dundalek/markmap/issues/11

dundalek commented 7 years ago

This is now supported in the new version 0.4.0. It adapts width to the content. By default it truncates long labels and you get result like this:

image

But you can also turn off truncation in settings and you will get this:

image