GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / LongestPathSourceLayeringLength Method
In This Topic
    LongestPathSourceLayeringLength Method
    In This Topic
    Computes the length of the longest path from node to a source node and sets the layer of node to that length. Returns the length of the longest path from node to a source node.
    Syntax
    protected virtual int LongestPathSourceLayeringLength( 
       GoLayoutLayeredDigraphNode node
    )

    Parameters

    node

    Return Value

    Returns the length of the longest path from node to a source node.
    See Also