Represents a connection between two nodes in a workflow.

Members

MemberKindDescription
ConnectionDefinition(string id, string sourceNodeId, string targetNodeId)MethodInitializes 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 IdPropertyGets the unique identifier for the connection.
string SourceNodeIdPropertyGets the ID of the source node.
string TargetNodeIdPropertyGets the ID of the target node.
string SourceOutputPropertyGets or sets the name of the output from the source node.
string TargetInputPropertyGets or sets the name of the input to the target node.
string ConditionPropertyGets or sets the condition that must be met for this connection to be followed.
string LabelPropertyGets or sets the label to display on this connection.
Dictionary<string, object> MetadataPropertyGets or sets additional metadata about this connection.
bool IsEnabledPropertyGets or sets a value indicating whether this connection is enabled.
ValidationResult Validate()MethodValidates this connection definition for correctness. A validation result indicating any issues found.
ConnectionDefinition Clone(string newId = null)MethodCreates a copy of this connection definition. Optional new ID for the copied connection. A new ConnectionDefinition instance that is a copy of this one.

Related