NodeDefinition class
Beep.Skia.Model — class
Represents the definition of a single node within a workflow.
Members
| Member | Kind | Description |
|---|---|---|
NodeDefinition(string id, string name, NodeType nodeType, string componentType) | Method | Initializes 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 Id | Property | Gets the unique identifier for the node. |
string Name | Property | Gets or sets the display name of the node. |
string Description | Property | Gets or sets the description of what this node does. |
NodeType NodeType | Property | Gets the type of this node. |
string ComponentType | Property | Gets the component type used to create the automation node instance. |
Dictionary<string, object> Configuration | Property | Gets or sets the configuration parameters for this node. |
Dictionary<string, object> Metadata | Property | Gets or sets additional metadata about this node. |
Dictionary<string, object> InputSchema | Property | Gets or sets the schema defining the input parameters this node expects. |
Dictionary<string, object> OutputSchema | Property | Gets or sets the schema defining the output parameters this node produces. |
SKPoint Position | Property | Gets or sets the position of this node on the workflow canvas. |
SKSize Size | Property | Gets or sets the size of this node on the workflow canvas. |
bool IsEnabled | Property | Gets or sets a value indicating whether this node is enabled for execution. |
TimeSpan? ExecutionTimeout | Property | Gets or sets the execution timeout for this specific node. |
RetryPolicy RetryPolicy | Property | Gets or sets the retry policy for this node if execution fails. |
ValidationResult Validate() | Method | Validates this node definition for correctness. A validation result indicating any issues found. |
NodeDefinition Clone(string newId = null) | Method | Creates a copy of this node definition. Optional new ID for the copied node. A new NodeDefinition instance that is a copy of this one. |