to_networkx#

to_networkx(network)[source]#

Write OpenPNM Network to a NetworkX object.

Parameters

network (GenericNetwork) – The OpenPNM Network to be converted to a NetworkX object

Return type

A NetworkX object with all pore/throat properties attached to it