graph_to_networkx#

eclypse.io.graphs.graph_to_networkx(graph)[source]#

Return a NetworkX copy of an ECLYPSE graph.

Parameters:

graph (AssetGraph) – The graph to copy.

Returns:

A NetworkX graph carrying the same topology and attributes.

Return type:

nx.DiGraph