SemanticRef
Kind: Class
Domain: Modeling and geometry
Canonical import: from cadflow import SemanticRef
Signature
class SemanticRef(graph_id: 'str', node_id: 'str', entity_type: 'str', entity_id: 'str') -> None
Description
Stable reference to a semantic model entity in the recorded graph.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
graph_id | 'str' | yes | - | Not explicitly described in the source docstring. |
node_id | 'str' | yes | - | Not explicitly described in the source docstring. |
entity_type | 'str' | yes | - | Not explicitly described in the source docstring. |
entity_id | 'str' | yes | - | 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 |
|---|---|---|
graph_id | 'str' | required |
node_id | 'str' | required |
entity_type | 'str' | required |
entity_id | 'str' | required |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import SemanticRef