NetworkX
latest
Overview
Download
Installing
Tutorial
Reference
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
To NetworkX Graph
Dictionaries
Lists
to_dict_of_lists
from_dict_of_lists
to_edgelist
from_edgelist
Numpy
Scipy
Pandas
Relabeling nodes
Reading and writing graphs
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
To NetworkX Graph
Dictionaries
Lists
Numpy
Scipy
Pandas
Reading and writing graphs
Drawing
Exceptions
Utilities
License
Citing
Credits
Glossary
Testing
Developer Guide
History
Bibliography
NetworkX Examples
NetworkX
Docs
»
Reference
»
Converting to and from other data formats
»
to_edgelist
Edit on GitHub
to_edgelist
¶
to_edgelist
(
G
,
nodelist=None
)
[source]
¶
Return a list of edges in the graph.
Parameters:
G
(
graph
) – A NetworkX graph
nodelist
(
list
) – Use only nodes specified in nodelist
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
.