Add name clause & switch fully to networkx.