This class describes the interface of extendable undirected graphs. It extends BaseGraphComponent with functions for adding nodes and edges to the graph. This concept requires AlterableGraphComponent.
#include <lemon/concepts/graph_components.h>
Public Member Functions | |
Node | addNode () |
Add a new node to the digraph. | |
Edge | addEdge (const Node &, const Node &) |
Add a new edge connecting the given two nodes. |
Node addNode | ( | ) | [inline] |
This function adds a new node to the digraph.
Edge addEdge | ( | const Node & | , |
const Node & | |||
) | [inline] |
This function adds a new edge connecting the given two nodes of the graph.