pyphi.graph.system_to_networkx# pyphi.graph.system_to_networkx(system, connectivity='inferred')[source]# Return the substrate graph with per-node state and membership attributes. Each node gains state (its current value) and in_system (whether the node is in system.node_indices vs the background). Parameters: system (System) connectivity (str) Return type: networkx.DiGraph