GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutGenericNetwork<N,L,Y> Class / AddLink Method / AddLink(L) Method
In This Topic
    AddLink(L) Method
    In This Topic
    Adds a Link to the network. Although this method is provided for completeness, LinkNodes provides a more efficient manner of linking nodes already in the network.
    Syntax
    public void AddLink( 
       L link
    )

    Parameters

    link
    Remarks
    This adds the link to its GoLayoutGenericNetwork.Link<N,L,Y>.ToNode's source links list, and to its GoLayoutGenericNetwork.Link<N,L,Y>.FromNode's destination links list.
    See Also