GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / MakesUndirectedCycle Method
the node to start from
the node that the proposed link would connect to
In This Topic
    MakesUndirectedCycle Method
    In This Topic
    This method returns true if adding a link from a to b would result in a cycle or loop of links, regardless of link direction, going through the node a.
    Syntax
    public static bool MakesUndirectedCycle( 
       IGoNode a,
       IGoNode b
    )

    Parameters

    a
    the node to start from
    b
    the node that the proposed link would connect to
    Remarks
    This method ignores any reflexive links--i.e. links whose ports are both part of the same node.
    See Also