networkit.nxadapter

This module handles compatibility between NetworKit and NetworkX

networkit.nxadapter.nk2nx(nkG)

Convert a NetworKit.Graph to a networkx.Graph

networkit.nxadapter.nx2nk(nxG, weightAttr=None)
Convert a networkx.Graph to a NetworKit.Graph
param weightAttr:
 the edge attribute which should be treated as the edge weight.