saealib.core.ComponentGraph#

class saealib.core.ComponentGraph(*, nodes, data_edges=(), control_edges=(), state_bindings=(), entry_points=())[source]#

Bases: object

A self-contained graph and its declared entry points.

Parameters:

Methods

__init__

node_by_id

Return the first node with the requested component ID.

well_formedness

Collect structural and graph-level diagnostics without raising.

Method Details

ComponentGraph.__init__(*, nodes, data_edges=(), control_edges=(), state_bindings=(), entry_points=())#
Parameters:
Return type:

None

ComponentGraph.node_by_id(component_id)[source]#

Return the first node with the requested component ID.

Parameters:

component_id (str)

Return type:

ComponentNode

ComponentGraph.well_formedness()[source]#

Collect structural and graph-level diagnostics without raising.

Return type:

DiagnosticBag