protected virtual void SortTreeNodeChildren( GoLayoutTreeNode n )
Parameters
- n
This method should not walk the tree, since it is called for each GoLayoutTreeNode in a breadth-first manner starting at a root.
However, if GoLayoutTreeNode.Alignment is BusBranching, this will be called before AssignTreeNodeValues. The "BusBranching" alignment depends on inheriting the GoLayoutTreeNode.Angle, which in turn depends on the sort order, hence sorting must be performed first. The difference is that when "BusBranching" the initialization pass has not yet finished, so informational properties have not yet been computed when this method is called.