MartinPacker / filterCSV

Tools to manipulate CSV files in a format suitable for importing into various mindmapping programs - such as iThoughts, Freemind, and MindNode.
MIT License
32 stars 8 forks source link

Add vspread and hspread #25

Closed MartinPacker closed 4 years ago

MartinPacker commented 4 years ago

Vertical spread by some number of units - vspread nnn

Horizontal spread - hspread nnn

cclauss commented 4 years ago

Are nnn percentages like (0, 0) would be topLeft and (100, 100) would be bottom right?

MartinPacker commented 4 years ago

Actually nnn are arbitrary units - defined by iThoughts. They might be pixels. In the CSV file a horizontal position of 100 looks like "{100,0}" in the "position" column. Likewise vertical position of 100 looks like "{0,100}".

Spread would start at {0,0} and increment across the level 0 nodes. I can see a second level being worthwhile eventually.

MartinPacker commented 4 years ago

Done.