Reference
Visualization metadata
Optional observation annotations and workflow description types.
Import * as Visual from @laufwerk/sdk/visual.
| Export | Contract |
|---|---|
node(metadata) | Pipeable annotation preserving the Effect's success, error and service types. |
scope(metadata) | Pipeable scope annotation; nested scopes accumulate up to 16 frames. |
Definition | Native Context tag used with workflow.annotate. |
NodeMetadata | id, optional label, kind, description, compactLabel. |
ScopeMetadata | id, optional label, instanceKey, structure. |
Structure | Declared sequence, parallel, collection, loop or choice policy. |
ScopeDefinition | A stage declaration with typed children, body or routes. |
WorkflowDefinition | Schema version 1; optional title, description, nodes, scopes and root. |
These exports describe observed work and optional declared structure. They do not construct or execute a graph. Read Visualize a workflow for compiled-package syntax, limits, repeated instances and live-state limitations.