Hi, I am having a small issue using the FlowChart.Net auto-layout feature, We have three options the user can select for a tree branch, horizontal, vertical and side-by-side. Horizontal and Side-by-Side work as expected, but the Vertical option shows an issue with the spacing between the nodes.
As can be seen in the last image, the first branch is spread further than any of the others. The code is the same, there is only one execution path, so I am a bit confused that there is a difference. Is there anything I can try to correct this?
Additionally, our clients asked if it would be possible to control the node spacing per branch rather than for the entire tree. After looking at the options this doesn't seem possible to me, is there something I missed?
We use the following constructor for the TreeLayout:
TreeLayout treeLayout = new MindFusion.Diagramming.Layout.TreeLayout(
node, // root
TreeLayoutType.Centered, // type
!parentToChildLinks, // reversedLinks
TreeLayoutLinkType.Cascading3, // linkStyle
TreeLayoutDirections.TopToBottom, // direction
levelDistance, // levelDistance
nodeDistance, // nodeDistance
true, // keepRootPosition
new SizeF(10, 10)) // margins
{
EnableAssistants = true,
};
Thanks for any help.