GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / GreedyCycleRemovalFindSink Method
In This Topic
    GreedyCycleRemovalFindSink Method
    In This Topic
    Finds a sink node in the network. A node is considered a sink node if it is valid and all of its predecessors are invalid. A valid node with no predecessors is vacously a sink. Returns null if no valid sink node exists. Used by GreedyCycleRemoval.
    Syntax
    protected virtual GoLayoutLayeredDigraphNode GreedyCycleRemovalFindSink( 
       GoLayoutLayeredDigraphNetwork network
    )

    Parameters

    network

    Return Value

    Returns a sink node in the network, or null if no valid sink node exists
    See Also