ConnectionDefinition class
Beep.Skia.Model — class
Represents a connection between two nodes in a workflow.
Members
| Member | Kind | Description |
|---|---|---|
ConnectionDefinition(string id, string sourceNodeId, string targetNodeId) | Method | Initializes a new instance of the ConnectionDefinition class. The unique identifier for the connection. The ID of the source node. The ID of the target node. |
string Id | Property | Gets the unique identifier for the connection. |
string SourceNodeId | Property | Gets the ID of the source node. |
string TargetNodeId | Property | Gets the ID of the target node. |
string SourceOutput | Property | Gets or sets the name of the output from the source node. |
string TargetInput | Property | Gets or sets the name of the input to the target node. |
string Condition | Property | Gets or sets the condition that must be met for this connection to be followed. |
string Label | Property | Gets or sets the label to display on this connection. |
Dictionary<string, object> Metadata | Property | Gets or sets additional metadata about this connection. |
bool IsEnabled | Property | Gets or sets a value indicating whether this connection is enabled. |
ValidationResult Validate() | Method | Validates this connection definition for correctness. A validation result indicating any issues found. |
ConnectionDefinition Clone(string newId = null) | Method | Creates a copy of this connection definition. Optional new ID for the copied connection. A new ConnectionDefinition instance that is a copy of this one. |