Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
parse_pajek
Parse Pajek format graph from string or iterable.
lines (string or iterable) – Data in Pajek format.
G
NetworkX graph
See also
read_pajek()