Represents the definition of a single node within a workflow.

Members

MemberKindDescription
NodeDefinition(string id, string name, NodeType nodeType, string componentType)MethodInitializes a new instance of the NodeDefinition class. The unique identifier for the node. The display name of the node. The type of the node. The component type for creating the automation node.
string IdPropertyGets the unique identifier for the node.
string NamePropertyGets or sets the display name of the node.
string DescriptionPropertyGets or sets the description of what this node does.
NodeType NodeTypePropertyGets the type of this node.
string ComponentTypePropertyGets the component type used to create the automation node instance.
Dictionary<string, object> ConfigurationPropertyGets or sets the configuration parameters for this node.
Dictionary<string, object> MetadataPropertyGets or sets additional metadata about this node.
Dictionary<string, object> InputSchemaPropertyGets or sets the schema defining the input parameters this node expects.
Dictionary<string, object> OutputSchemaPropertyGets or sets the schema defining the output parameters this node produces.
SKPoint PositionPropertyGets or sets the position of this node on the workflow canvas.
SKSize SizePropertyGets or sets the size of this node on the workflow canvas.
bool IsEnabledPropertyGets or sets a value indicating whether this node is enabled for execution.
TimeSpan? ExecutionTimeoutPropertyGets or sets the execution timeout for this specific node.
RetryPolicy RetryPolicyPropertyGets or sets the retry policy for this node if execution fails.
ValidationResult Validate()MethodValidates this node definition for correctness. A validation result indicating any issues found.
NodeDefinition Clone(string newId = null)MethodCreates a copy of this node definition. Optional new ID for the copied node. A new NodeDefinition instance that is a copy of this one.

Related