GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / GreedyCycleRemovalFindNodeMaxDegDiff Method
In This Topic
    GreedyCycleRemovalFindNodeMaxDegDiff Method
    In This Topic
    Finds a valid node in the network that maximizes outdeg - indeg. The degree difference is computed using valid successors and predecessors. Returns null if no valid node exists. Used by GreedyCycleRemoval.
    Syntax
    protected virtual GoLayoutLayeredDigraphNode GreedyCycleRemovalFindNodeMaxDegDiff( 
       GoLayoutLayeredDigraphNetwork network
    )

    Parameters

    network

    Return Value

    Returns a valid node in the network that maximized outdeg-indeg or null if no valid node exists
    See Also