GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / TightComponent Method
In This Topic
    TightComponent Method
    In This Topic
    Uses a depth first search algorithm to set the component of all nodes in a component. The forward and backward bools indicate the direction to use for a directed depth first search from node. **Unset functions only set the component and recurse on nodes whose component is currently set to the unset value. Tight** functions only set the component and recurse on nodes which are "tight", in the sense that the nodes are separated by a link which corresponds to the minumum link length of the link between the two nodes.
    Syntax
    protected virtual void TightComponent( 
       GoLayoutLayeredDigraphNode node,
       int component,
       bool forward,
       bool backward
    )

    Parameters

    node
    component
    forward
    backward
    See Also