Graph
Kind: Class
Domain: Graph, serialization, and replay
Canonical import: from cadflow import Graph
Signature
class Graph(nodes: 'list[Node]' = <factory>) -> None
Description
Graph(nodes: 'list[Node]' = <factory>)
Other public imports
from cadflow.graph import Graph
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
nodes | 'list[Node]' | no | <factory> | Not explicitly described in the source docstring. |
Returns
Type: None
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Data fields
| Name | Type | Default |
|---|---|---|
nodes | 'list[Node]' | factory |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
add | method | (self, op: 'str', *args: 'object') -> 'int' | See the member signature. |
execute | method | (self, session: 'NativeSession | None' = None) -> 'list[str]' | See the member signature. |
Behavior and constraints
- The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.
Import check
from cadflow import Graph