I am running Windows XP, .NET 3.5 and am using the GoLayoutTree to layout nodes in form of a decision
diagram. However, I am having difficulties to place whole subtrees
relative to their parents position. This is the code doing the
public void DoLayout(GoDocument doc)
GoLayoutTree layout = new GoLayoutTree();
layout.Document = doc;
layout.Alignment = GoLayoutTreeAlignment.CenterSubtrees;
layout.Angle = 90;
This layouts trees as following:
The problem is that I cannot control where conditional nodes place both of their subtrees. I want both conditional branches to not overlap their parents vertical left and right position. The following picture shows my desired results.
How can I manage such behaviour? Please be aware that the layouting must also work with conditional branches containing other conditional branches.
Thanks very much.