GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutTree Class
Properties Methods Events


In This Topic
    GoLayoutTree Class Members
    In This Topic

    The following tables list the members exposed by GoLayoutTree.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the default alignment of parents relative to their children.  
    Public PropertyGets the object holding the default values for alternate layer GoLayoutTreeNodes, used when the Style is GoLayoutTreeStyle.Alternating or GoLayoutTreeStyle.LastParents.  
    Public Property Gets or sets the default direction for tree growth.  
    Public PropertyGets or sets how ArrangeTrees should lay out the separate trees.  
    Public PropertyGets or sets the point at which ArrangeTrees will position the trees.  
    Public PropertyGets or sets the space between which ArrangeTrees will position the trees.  
    Public Property Gets or sets a limit on how broad a tree should be.  
    Public PropertyGets or sets the spot that children nodes' Northwoods.Go.GoPorts get as their Northwoods.Go.GoPort.ToSpot.  
    Public Property Gets or sets the distance between a node and its comments.  
    Public Property Gets or sets the distance between comments.  
    Public Property Gets or sets how closely to pack the child nodes of a subtree.  
    Public PropertyGets or sets the default IComparer used for sorting.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the Northwoods.Go.GoDocument that the layout will be performed on. (Inherited from Northwoods.Go.Layout.GoLayout)
    Public Property Gets or sets the distance between a parent node and its children.  
    Public Property Gets or sets the fraction of the node's depth for which the children's layer starts overlapped with the parent's layer.  
    Public PropertyGets or sets the GoLayoutTreeNetwork that the layout will be performed on.  
    Public Property Gets or sets the default indentation of the first child.  
    Public PropertyGets or sets the fraction of this node's breadth is added to NodeIndent to determine any spacing at the start of the children.  
    Public Property Gets or sets the distance between child nodes.  
    Public PropertyGets or sets how the tree should be constructed from the GoLayoutTreeLinks connecting GoLayoutTreeNodes.  
    Public PropertyGets or sets the spot that this node's Northwoods.Go.GoPort gets as its Northwoods.Go.GoPort.FromSpot.  
    Public PropertyGets the object holding the default values for root GoLayoutTreeNodes.  
    Public PropertyGets or sets an Northwoods.Go.IGoCollection of root Northwoods.Go.GoObjects.  
    Public PropertyGets or sets the default indentation of the first child of each row, if the Alignment is not a "Center" alignment.  
    Public Property Gets or sets the distance between rows of children.  
    Public PropertyGets or sets whether SetPortSpots should set the Northwoods.Go.GoPort.ToSpot for each child node port.  
    Public PropertyGets or sets whether SetPortSpots should set the Northwoods.Go.GoPort.FromSpot for this parent node port.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the default GoLayoutTreeSorting policy.  
    Public PropertyGets or sets the GoLayoutTreeStyle for the resulting trees.  
    Public PropertyGets or sets the Northwoods.Go.GoView whose thread is used to run document-updating code and Progress events. (Inherited from Northwoods.Go.Layout.GoLayout)
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public MethodAllocate a GoLayoutTreeNetwork.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodCall GoLayoutGenericNetwork.Node<N,L,Y>.CommitPosition to position each node, call LayoutComments, and then call GoLayoutTreeLink.CommitPosition to route the links.  
    Public MethodOverridden.  Do a tree layout.  
    Public MethodOverloaded.  (Inherited from Northwoods.Go.Layout.GoLayout)
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected MethodFind associated objects to be positioned along with the GoLayoutGenericNetwork.Node<N,L,Y>.GoLayoutGenericNetwork.Node<N,L,Y>.GoObject.  
    Protected Method Position each separate tree.  
    Protected MethodAssign final property values for a GoLayoutTreeNode.  
    Protected MethodGet the amount of space to leave between the sibling child vertexes and this last odd vertex when the parent's GoLayoutTreeNode.Alignment is Bus or BusBranching.  
    Protected MethodGet the amount of space to insert between a child vertex and its parent spine when the parent's GoLayoutTreeNode.Alignment is Bus or BusBranching.  
    Protected MethodThis method is responsible for initializing all of the GoLayoutTreeNodes, setting GoLayoutTreeNode.Initialized, GoLayoutTreeNode.Level, GoLayoutTreeNode.Parent, and GoLayoutTreeNode.Children, and making sure Roots has at least one suitable Northwoods.Go.GoObject in it.  
    Protected MethodOverloaded.  (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method This method is responsible for finding all of the root nodes.  
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodAssign initial property values for a GoLayoutTreeNode.  
    Protected MethodPosition any GoLayoutTreeNode.Comments around the GoLayoutGenericNetwork.Node<N,L,Y>.GoObject.  
    Protected Method Recursively lay out a subtree starting with the given parent node.  
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected Method Invoke all Progress event handlers. (Inherited from Northwoods.Go.Layout.GoLayout)
    Protected MethodOverridden. Set Network to null.  
    Protected MethodAssign port spots for single-port nodes, if GoLayoutTreeNode.SetsPortSpot or GoLayoutTreeNode.SetsChildPortSpot is true, according to the value of PortSpot or ChildPortSpot.  
    Protected MethodSort the GoLayoutTreeNode.Children of a node.  
    Protected MethodTraverse the Network and assign the GoLayoutTreeNode.GoLayoutTreeNode.Parent, GoLayoutTreeNode.Level, and GoLayoutTreeNode.Children properties.  
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventThe Progress event is raised at various times during the PerformLayout routine to indicate progress. In particular, a Progress event should be raised at the start of the layout with a progress of 0.0 and at the end of the layout with a progress of 1.0. Other calls with progress values should be layout routine specific. (Inherited from Northwoods.Go.Layout.GoLayout)
    Top
    See Also