I am attempting to display a hierarchical tree structure (eg. like an Org Chart) using the Tree Layout, Mode Orthogonal and Node Flow Direction Below in an MVVM data binding scenario.
I want the connections to always originate from the bottom of a node when connecting to a child node (and connect to the top of the child), even at the expense of making the diagram wider. Sometimes the layout engine does this, but sometimes it draws the connections to the sides.
Is there a way to control it so it always draws top/bottom connections?
Hello James,
Thank you for your post.
I am glad that you have found the same solution that I was going to recommend to you on this issue. With the above setters, you can set the connection point that you want each connection to be connected to.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewDeveloper Support Engineer IInfragistics Inc.www.infragistics.com/support
Think I found the answer to this one. I couldn't find official documentation on the values of the connection point names:
<Style TargetType="ig:DiagramConnection">
<Setter Property="ConnectionType" Value="RightAngle" />
<Setter Property="StartNodeConnectionPointName" Value="Bottom" />
<Setter Property="EndNodeConnectionPointName" Value="Top" />