Search
TreeEnumerator Constructor
See Also
 





Initializes a new instance of the TreeEnumerator class.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public TreeEnumerator (
    DiagramNode root,
    bool enumLinks,
    bool strict
)

Visual Basic  Copy Code

Public New ( _
    root As DiagramNode, _
    enumLinks As Boolean, _
    strict As Boolean _
)

 Parameters

root
The root of the tree or subtree to be enumerated.
enumLinks
Specifies whether to enumerate links.
strict

Specifies whether to check strictly if the passed structure is a tree. If this option is enabled, NotATreeException will be thrown if a cycle or multiple links to a node are encountered. If the option is disabled, the enumerator will ignore any cycles or multiple links found and continue the iteration.

 See Also