Skip to main content

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

NameTypeRequiredDefaultSource description
nodes'list[Node]'no&lt;factory&gt;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

NameTypeDefault
nodes'list[Node]'factory

Public members

MemberKindSignatureDescription
addmethod(self, op: 'str', *args: 'object') -&gt; 'int'See the member signature.
executemethod(self, session: 'NativeSession | None' = None) -&gt; '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

See also