Hi,
I'm drawing a tree diagram horizontally. How do i tell it to draw each of the hierarchy levels vertically aligned?
So, for example, my diagram looks like this:
But i want it to look like this by default (I dragged the nodes into position manually for the sake of illustration):
I've tried setting all of the treeDiagramLayout properties to "Center"...
Thanks in advance for your assistance.
Phil
Hello Phil,
Thank you for your reply.
I am very glad that you have managed to resolve your issue.
Please let me know if you need any further assistance on this matter.
Thanks Zhivko - I tried writing the custom layout and this has solved the problem.
Thanks,
Hello,
I am just checking if there is anything else I can do for you.
Hello Phill,
Thank you for your patience.
I have been further investigating the sample application, that you have attached. It seems that when using the tree layout of XamDiagram by default it arranges the nodes in that way. If you want you can use the default layout instead of tree layout and add in your nodeViewModel a property from type point that contains the position of every diagram node. You can bind this property to the position property of DiagramNode. Also our XamDiagram has a functionality that enable you to create a custom layout, that lets you create a layout, that completes your requirements. You can read more details and see a sample from the following link from our online documentation:
http://help.infragistics.com/doc/WPF/kur/CLR4.0/?page=xamDiagram_Configuring_the_Layout.html
Thanks - please see the attached sample, which exhibits the problem.