biopython v1.71.0 Bio.Pathway.Rep.Graph.Graph

A directed graph abstraction with labeled edges.

Link to this section Summary

Functions

Returns true if g is equal to this graph

Initializes a new Graph object

Returns true if g is not equal to this graph

Returns a unique string representation of this graph

Returns a concise string description of this graph

Adds an edge to this graph

Adds a node to this graph

Returns a list of (child, label) pairs for parent

Returns a list of unique children for parent

Returns a list of all the edges with this label

Returns a list of all the edge labels in this graph

Returns a list of the nodes in this graph

Returns a list of (parent, label) pairs for child

Returns a list of unique parents for child

Removes edge. — NOT IMPLEMENTED

Removes node and all edges connected to it

Link to this section Functions

Returns true if g is equal to this graph.

Initializes a new Graph object.

Returns true if g is not equal to this graph.

Returns a unique string representation of this graph.

Returns a concise string description of this graph.

Adds an edge to this graph.

Adds a node to this graph.

Returns a list of (child, label) pairs for parent.

Returns a list of unique children for parent.

Returns a list of all the edges with this label.

Returns a list of all the edge labels in this graph.

Returns a list of the nodes in this graph.

Returns a list of (parent, label) pairs for child.

Returns a list of unique parents for child.

Removes edge. — NOT IMPLEMENTED

Removes node and all edges connected to it.