CellNetwork.from_networkx
- classmethod CellNetwork.from_networkx(graph)
Create a new graph instance from a NetworkX DiGraph instance.
- Parameters
graph (networkx.DiGraph) – NetworkX instance of a directed graph.
- Returns
Graph – A newly created graph.