How do I set the spacing parameter with an organic CSV import

123 views
Skip to first unread message

Michael Ellyett

unread,
Oct 18, 2021, 12:18:14 AM10/18/21
to diagrams.net Q&A
Manually I can do a Layout Organic - and I am prompted for "Spacing" - which I set at say 100. 

When I try and do this from a CSV import - the organic layour to work i.e. the 1st line below but the spacing does not:
# layout: organic
# spacing: 100

I have tried to find the documentation -
but I am not sure if mxFastOrganicLayout = Organic (above) and I can't tell what "spacing" might be e.g. I have tried 
- forceConstant, and Constant
- maxDistanceLimit

I would also like to know how to apply the other parameters in a CSV import.


diagrams.net Q&A

unread,
Oct 20, 2021, 11:29:21 AM10/20/21
to diagrams.net Q&A
Yes, Organic = mxFastOrganicLayout and the parameters are as shown in the documentation, eg.

# layout: [{"layout": "mxFastOrganicLayout", "config": {"forceConstant": 160}}]

diagrams.net Q&A

unread,
Oct 20, 2021, 11:30:28 AM10/20/21
to diagrams.net Q&A
Try the settings via Arrange, Layout, Apply.
Reply all
Reply to author
Forward
0 new messages