GH_ConnectivityDisparity

Maintains two connectivity diagrams, one of which is a subset of the other.

Constructors

GH_ConnectivityDisparity

#
public GH_ConnectivityDisparity(GH_ConnectivityDiagram topset, GH_ConnectivityDiagram subset)
Create a new instance of the Connectivity Disparity utility class.
topset (GH_ConnectivityDiagram)Overarching connectivity diagram.
subset (GH_ConnectivityDiagram)Partial connectivity diagram.

Properties

SubNodes

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

SubSet

#
public GH_ConnectivityDiagram SubSet { get; }
Gets a pointer to the subset diagram stored in this disparity class.

TopNodes

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

TopSet

#
public GH_ConnectivityDiagram TopSet { get; }
Gets a pointer to the complete diagram stored in this disparity class.

Methods

ExternalInputs

#
public List<Guid> ExternalInputs(Guid id)
Find all external sources for a given id in the subset.
id (Guid)ID of parameter.
A list containing all sources that are not present in the subset topology.

ExternalOutputs

#
public List<Guid> ExternalOutputs(Guid id)
Find all external recipients for a given id in the subset.
id (Guid)ID of parameter.
A list containing all recipients that are not present in the subset topology.

InternalInputs

#
public List<Guid> InternalInputs(Guid id)
Find all internal sources for a given id in the subset.
id (Guid)ID of parameter.
A list containing all sources that are present in the subset topology.

InternalOutputs

#
public List<Guid> InternalOutputs(Guid id)
Find all external recipients for a given id in the subset.
id (Guid)ID of parameter.
A list containing all recipients that are present in the subset topology.