GoDiagram Win Reference
GoLayoutTree Class Members
Properties  Methods  Events


The following tables list the members exposed by GoLayoutTree.

Public Constructors
 NameDescription
Public ConstructorGoLayoutTree ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAlignmentGets or sets the default alignment of parents relative to their children.  
Public PropertyAlternateDefaultsGets the object holding the default values for alternate layer GoLayoutTreeNodes, used when the Style is GoLayoutTreeStyle.Alternating or GoLayoutTreeStyle.LastParents.  
Public PropertyAngleGets or sets the default direction for tree growth.  
Public PropertyArrangementGets or sets how ArrangeTrees should lay out the separate trees.  
Public PropertyArrangementOriginGets or sets the point at which ArrangeTrees will position the trees.  
Public PropertyArrangementSpacingGets or sets the space between which ArrangeTrees will position the trees.  
Public PropertyBreadthLimitGets or sets a limit on how broad a tree should be.  
Public PropertyChildPortSpotGets or sets the spot that children nodes' Northwoods.Go.GoPorts get as their Northwoods.Go.GoPort.ToSpot.  
Public PropertyCommentMarginGets or sets the distance between a node and its comments.  
Public PropertyCommentSpacingGets or sets the distance between comments.  
Public PropertyCompactionGets or sets how closely to pack the child nodes of a subtree.  
Public PropertyLayerSpacingGets or sets the distance between a parent node and its children.  
Public PropertyLayerSpacingParentOverlapGets or sets the fraction of the node's depth for which the children's layer starts overlapped with the parent's layer.  
Public PropertyNodeIndentGets or sets the default indentation of the first child.  
Public PropertyNodeIndentPastParentGets or sets the fraction of this node's breadth is added to NodeIndent to determine any spacing at the start of the children.  
Public PropertyNodeSpacingGets or sets the distance between child nodes.  
Public PropertyPathGets or sets how the tree should be constructed from the GoLayoutTreeLinks connecting GoLayoutTreeNodes.  
Public PropertyPortSpotGets or sets the spot that this node's Northwoods.Go.GoPort gets as its Northwoods.Go.GoPort.FromSpot.  
Public PropertyRootDefaultsGets the object holding the default values for root GoLayoutTreeNodes.  
Public PropertyRootsGets or sets an Northwoods.Go.IGoCollection of root Northwoods.Go.GoObjects.  
Public PropertyRowIndentGets or sets the default indentation of the first child of each row, if the Alignment is not a "Center" alignment.  
Public PropertyRowSpacingGets or sets the distance between rows of children.  
Public PropertySetsChildPortSpotGets or sets whether SetPortSpots should set the Northwoods.Go.GoPort.ToSpot for each child node port.  
Public PropertySetsPortSpotGets or sets whether SetPortSpots should set the Northwoods.Go.GoPort.FromSpot for this parent node port.  
Public PropertySortingGets or sets the default GoLayoutTreeSorting policy.  
Public PropertyStyleGets or sets the GoLayoutTreeStyle for the resulting trees.  
Public PropertyViewGets 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 MethodCreateNetworkAllocate a GoLayoutTreeNetwork.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded.  (Inherited from System.ComponentModel.Component)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodLayoutNodesAndLinksCall GoLayoutGenericNetwork.Node<N,L,Y>.CommitPosition to position each node, call LayoutComments, and then call GoLayoutTreeLink.CommitPosition to route the links.  
Public MethodPerformLayoutOverridden. Do a tree layout.  
Public MethodRaiseProgressOverloaded. Call OnProgress with an appropriate GoLayoutProgressEventArgs. (Inherited from Northwoods.Go.Layout.GoLayout)
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
 NameDescription
Protected MethodAddCommentsFind associated objects to be positioned along with the GoLayoutGenericNetwork.Node<N,L,Y>.GoLayoutGenericNetwork.Node<N,L,Y>.GoObject.  
Protected MethodArrangeTreesPosition each separate tree.  
Protected MethodAssignTreeNodeValuesAssign final property values for a GoLayoutTreeNode.  
Protected MethodComputeBusLastRowSpacingGet 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 MethodComputeBusNodeSpacingGet 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 MethodCreateTreesThis 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 MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodFindRootsThis method is responsible for finding all of the root nodes.  
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodInitializeTreeNodeValuesAssign initial property values for a GoLayoutTreeNode.  
Protected MethodLayoutCommentsPosition any GoLayoutTreeNode.Comments around the GoLayoutGenericNetwork.Node<N,L,Y>.GoObject.  
Protected MethodLayoutTreeRecursively lay out a subtree starting with the given parent node.  
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnProgressInvoke all Progress event handlers. (Inherited from Northwoods.Go.Layout.GoLayout)
Protected MethodRemoveNetworkOverridden. Set Network to null.  
Protected MethodSetPortSpotsAssign port spots for single-port nodes, if GoLayoutTreeNode.SetsPortSpot or GoLayoutTreeNode.SetsChildPortSpot is true, according to the value of PortSpot or ChildPortSpot.  
Protected MethodSortTreeNodeChildrenSort the GoLayoutTreeNode.Children of a node.  
Protected MethodWalkTreeTraverse the Network and assign the GoLayoutTreeNode.GoLayoutTreeNode.Parent, GoLayoutTreeNode.Level, and GoLayoutTreeNode.Children properties.  
Top
Public Events
 NameDescription
Public EventProgressThe 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

Reference

GoLayoutTree Class
Northwoods.Go.Layout Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback