Read graphs in Pajek format.
See http://vlado.fmf.uni-lj.si/pub/networks/pajek/doc/draweps.htm for format information.
This implementation handles only directed and undirected graphs including those with self loops and parallel edges.
read_pajek(path) | Read graph in Pajek format from path. |
write_pajek(G, path) | Write in Pajek format to path. |
parse_pajek(lines[, edge_attr]) | Parse pajek format graph from string or iterable. |