Import And Conversion
Back to Helios Network Python API
Readers and conversion helpers for BXNet, ZXNet, XNet, GML, node-link JSON, NetworkX, and igraph.
function
from_igraph
Create a Helios `Network` from an igraph `Graph`.
function
from_networkx
Create a Helios `Network` from a NetworkX `Graph` or `DiGraph`.
function
read_bxnet
Read a binary `.bxnet` file into a `Network`.
function
read_gml
Read a GML graph file into a `Network`.
function
read_gt
Read a graph-tool `.gt` file into a `Network`.
function
read_node_link_json
Read a D3/NetworkX-style node-link JSON file into a `Network`.
function
read_xnet
Read a text `.xnet` file into a `Network`.
function
read_zxnet
Read a compressed `.zxnet` file into a `Network`.
function
to_igraph
Convert a Helios `Network` to an igraph `Graph` with compatible attributes.
function
to_networkx
Convert a Helios `Network` to a NetworkX graph with compatible attributes.