GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace
/
GoLayoutTree Class
/ CreateTrees Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
CreateTrees Method
In This Topic
This method is responsible for initializing all of the
GoLayoutTreeNode
s, setting
GoLayoutTreeNode.Initialized
,
GoLayoutTreeNode.Level
,
GoLayoutTreeNode.Parent
, and
GoLayoutTreeNode.Children
, and making sure
Roots
has at least one suitable
Northwoods.Go.GoObject
in it.
Syntax
C#
protected
virtual
void
CreateTrees()
Remarks
This will call
FindRoots
if
Roots
is empty. Then it will iterate over the roots, calling
WalkTree
on each one.
See Also
Reference
GoLayoutTree Class
GoLayoutTree Members