kmapper.adapter¶
Adapt Mapper format into other common formats.
 networkx
Functions
to_networkx (graph) 
Convert a Mapper 1complex to a networkx graph. 
to_nx (graph) 
Convert a Mapper 1complex to a networkx graph. 

kmapper.adapter.
to_networkx
(graph)[source]¶ Convert a Mapper 1complex to a networkx graph.
Parameters: graph (dictionary, graph object returned from kmapper.map) – Returns: g (graph as networkx.Graph() object)

kmapper.adapter.
to_nx
(graph)¶ Convert a Mapper 1complex to a networkx graph.
Parameters: graph (dictionary, graph object returned from kmapper.map) – Returns: g (graph as networkx.Graph() object)