Graphs for Python
Introduction
What is a graph?
Creating a graph using the
pgraph
package
Creating directed and undirected graphs
History
API details
Common methods
Construction and basic usage
Adding and removing vertices and edges
Graph analysis
Transformations to matrix representations
Visualization
Exporting a graph
Path planning
Edges & Vertices
Underlying data structures
Working with vertices and edges directly
The Vertex class
The Edge class
Object lifecycle and graph-membership policy
Standalone construction
Adding a vertex to a graph
Connecting two vertices
Constructing an
Edge
directly
Summary
Graphs for Python
API details
View page source
Previous
Next
API details
Common methods
Construction and basic usage
Adding and removing vertices and edges
Graph analysis
Transformations to matrix representations
Visualization
Exporting a graph
Path planning
Edges & Vertices
Underlying data structures
Working with vertices and edges directly
The Vertex class
The Edge class
Object lifecycle and graph-membership policy
Standalone construction
Adding a vertex to a graph
Connecting two vertices
Constructing an
Edge
directly
Summary