Any suggestions to improve Sugiyama layout generated by Msagl?
assopri opened this issue · 6 comments
I'm trying to visualize MD file repositary with Devexpress XtraDiagram. I turn each particular file to the shape. MD links become connectors. Devexpress XtraDiagram supports using 3rd party layout calculators for generating Sugiyama layout.
I use Microsoft.Msagl. Here is the layout I'm getting using Sugiyama layout just out of the box:
By the way, here is node distribution, which another software (Obsidian) generates on the same repositary:
I feel there are 2 things, that can improve situation:
1.Can I somehow distribute nodes along the canvas nor vertically elongated, neigher horizontally? I mean they should aim to distribute in a square:
Try MDSLayout. I think it will work better than the hierarchical/layered layout of Sugiyama.
I am not sure how to spread disconnected nodes evenly.
To make a gap between the nodes use NodeSeparation.Is should be a property of MdsLayoutSettings.