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>
Inherits BAS.
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. | |
|
inline |
This function adds a new node to the digraph.
|
inline |
This function adds a new edge connecting the given two nodes of the graph.