exporter.statement_graph_to_networkx()
Convert a statement graph to a NetworkX MultiDiGraph.
Usage
exporter.statement_graph_to_networkx(graph)Nodes are statement ids. Binding labels, shape_key, and a representative_cell are node attributes; formula text is not. Bundles become directed multi-edges consumer -> producer (depends-on), keyed by access class, distance, affine coefficients, and guarded status. Edge attributes include partition keys and representative instance cells.
Raises
ImportError- If NetworkX is not installed.