GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / Medians Method
In This Topic
    Medians Method
    In This Topic
    Computes the array of median columns for the nodes in the unfixedLayer based on the columns of predecessors (direction < 0), successors (direction > 0), or both predecessors and successors (direction == 0). Elements without a defined median will have an entry of -1.
    Syntax
    protected virtual float[] Medians( 
       int unfixedLayer,
       int direction
    )

    Parameters

    unfixedLayer
    direction

    Return Value

    Returns the array of median columns for the nodes in the unfixedLayer
    See Also