GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutGenericNetwork<N,L,Y> Class / AddNodesAndLinksFromCollection Method
If true, only those objects that implement Northwoods.Go.IGoNode will get GoLayoutGenericNetwork.Node<N,L,Y>s created for them. If false, each (non-link) object in the collection will be represented by a GoLayoutGenericNetwork.Node<N,L,Y>. If you want the layout to ignore groups such as Northwoods.Go.GoComments in your graph, provide a value of true here.
In This Topic
    AddNodesAndLinksFromCollection Method
    In This Topic
    Adds the objects in an IGoCollection to the network.
    Syntax
    public virtual void AddNodesAndLinksFromCollection( 
       IGoCollection collection,
       bool onlytruenodes
    )

    Parameters

    collection
    onlytruenodes
    If true, only those objects that implement Northwoods.Go.IGoNode will get GoLayoutGenericNetwork.Node<N,L,Y>s created for them. If false, each (non-link) object in the collection will be represented by a GoLayoutGenericNetwork.Node<N,L,Y>. If you want the layout to ignore groups such as Northwoods.Go.GoComments in your graph, provide a value of true here.
    See Also