Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.readwrite.pajek.generate_pajek

generate_pajek(G)[source]

Generate lines in Pajek graph format.

Parameters

G (graph) – A Networkx graph

References

See http://vlado.fmf.uni-lj.si/pub/networks/pajek/doc/draweps.htm for format information.