Nevron .NET Vision
Nevron.Diagram.DataStructures Namespace / NGraph Class / DepthFirstTraversal Method
specifies the graph type
visitor to use
vertex from which to start the traversal


In This Topic
    DepthFirstTraversal Method
    In This Topic
    Performs a depth first traversal visiting of the graph parts in this graph, starting from the specified vertex
    Syntax
    'Declaration
     
    
    Public Overridable Sub DepthFirstTraversal( _
       ByVal graphType As GraphType, _
       ByVal visitor As NGraphPartVisitor, _
       ByVal startVertex As NGraphVertex _
    ) 
    'Usage
     
    
    Dim instance As NGraph
    Dim graphType As GraphType
    Dim visitor As NGraphPartVisitor
    Dim startVertex As NGraphVertex
     
    instance.DepthFirstTraversal(graphType, visitor, startVertex)
    public virtual void DepthFirstTraversal( 
       GraphType graphType,
       NGraphPartVisitor visitor,
       NGraphVertex startVertex
    )

    Parameters

    graphType
    specifies the graph type
    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