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()