GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLabeledLink Class / GetOtherNode Method
In This Topic
    GetOtherNode Method (GoLabeledLink)
    In This Topic
    Return the node at the other end of this link from the given node.
    Syntax
    public IGoNode GetOtherNode( 
       IGoNode n
    )

    Parameters

    n

    Return Value

    An IGoNode, that may be null if the other end of the link is not connected or whose port may not be part of a node, or that may return the same n if both ends of the link are connected to the same node, even if at different ports.
    See Also