NetworkX

Previous topic

networkx.readwrite.pajek.write_pajek

Next topic

GIS Shapefile

networkx.readwrite.pajek.parse_pajek

networkx.readwrite.pajek.parse_pajek(lines)

Parse Pajek format graph from string or iterable.

Parameters :

lines : string or iterable

Data in Pajek format.

Returns :

G : NetworkX graph

See also

read_pajek