app.transformation_manager.frontend_graph

Graph structure of the frontend model.

Module Contents

class app.transformation_manager.frontend_graph.FrontendGraph

Graph representing the frontend model.

Mainly used to be converted to internal class:app.transformation_manager.graph.ProgramGraph.

create_subgraph(nodes: collections.abc.Iterable[TBaseNode]) FrontendGraph

Build a subgraph from a subset of nodes.

Parameters:

nodes (collections.abc.Iterable[TBaseNode])

Return type:

FrontendGraph

static create(nodes: collections.abc.Iterable[TBaseNode], edges: collections.abc.Iterable[app.model.CompileRequest.Edge]) FrontendGraph

Build graph from nodes + edges.

Parameters:
Return type:

FrontendGraph