GH_ConnectivityDiagram

References
Represents a complete connectivity diagram (topology) of a GH_Document. A connectivity diagram is basically an undirected network of all the wires in a document.

Constructors

GH_ConnectivityDiagram

#
Create a duplicate of another Connectivity Diagram.
public GH_ConnectivityDiagram(
GH_ConnectivityDiagram
other
Diagram to copy.
)

GH_ConnectivityDiagram

#
Create a new Connectivity Diagram from a GH_Document.
public GH_ConnectivityDiagram(
doc
Document to examine.
)

Properties

NodeCount

#
Gets the number of connectivity nodes in this diagram.
public int NodeCount { get; }

Nodes

#
Gets a proxy for all the Nodes in this diagram.
public ReadOnlyCollection<Guid> Nodes { get; }

Indexers

Node

#
Get the connectivity node with the specified ID.
public GH_ConnectivityNode this[
id
ID of node to search for.
] { get; }
The node on success or null on failure.

Methods

ContainsID

#
Test the diagram for a given Node ID.
public bool ContainsID(
id
ID to search for.
)
True if the ID is part of this diagram, false if otherwise.

GetAllInputs

#
Get all the Nodes that are part of the specified node input.
public List<Guid> GetAllInputs(
id
ID of node to query.
)
A list of input nodes.

GetAllOutputs

#
Get all the Nodes that are part of the specified node output.
public List<Guid> GetAllOutputs(
id
ID of node to query.
)
A list of output nodes.