protected virtual void SortTreeVertexChildren( TreeVertex v )
Parameters
- v
This method should not walk the tree, since it is called for each TreeVertex in a depth-first manner starting at a root. Normally this is called after all of the vertexes have had their values set by AssignTreeVertexValues.
However, if TreeVertex.Alignment is BusBranching, this will be called before AssignTreeVertexValues. The "BusBranching" alignment depends on inheriting the TreeVertex.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.