NetworkX
latest
Overview
Download
Installing
Tutorial
Reference
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Adjacency List
Multiline Adjacency List
Edge List
GEXF
GML
Pickle
GraphML
JSON
LEDA
YAML
SparseGraph6
Pajek
Pajek
read_pajek
write_pajek
parse_pajek
GIS Shapefile
Drawing
Exceptions
Utilities
License
Citing
Credits
Glossary
Reference
Overview
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Reading and writing graphs
Adjacency List
Multiline Adjacency List
Edge List
GEXF
GML
Pickle
GraphML
JSON
LEDA
YAML
SparseGraph6
Pajek
GIS Shapefile
Drawing
Exceptions
Utilities
License
Citing
Credits
Glossary
Testing
Developer Guide
History
Bibliography
NetworkX Examples
NetworkX
Docs
»
Reference
»
Reading and writing graphs
»
Pajek
»
parse_pajek
Edit on GitHub
parse_pajek
¶
parse_pajek
(
lines
)
[source]
¶
Parse Pajek format graph from string or iterable.
Parameters:
lines
(
string or iterable
) – Data in Pajek format.
Returns:
G
Return type:
NetworkX graph
See also
read_pajek()
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.