Nevron .NET Vision
Nevron.Diagram.DataStructures Namespace / NTree Class / BreadthFirstTraversal Method
visitor to use
vertex from which to start the traversal


In This Topic
    BreadthFirstTraversal Method (NTree)
    In This Topic
    Performs a breath first traversal visiting of the parts in the tree, starting from the specified vertex
    Syntax
    'Declaration
     
    
    Public Overridable Sub BreadthFirstTraversal( _
       ByVal visitor As NGraphPartVisitor, _
       ByVal startVertex As NTreeVertex _
    ) 
    'Usage
     
    
    Dim instance As NTree
    Dim visitor As NGraphPartVisitor
    Dim startVertex As NTreeVertex
     
    instance.BreadthFirstTraversal(visitor, startVertex)
    public virtual void BreadthFirstTraversal( 
       NGraphPartVisitor visitor,
       NTreeVertex startVertex
    )

    Parameters

    visitor
    visitor to use
    startVertex
    vertex from which to start the traversal
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also