Graph Classes
Graphs are used in various settings. In each of the setting, there is a semantically different graph type.
A graph class is instantiated with a vertex type and an attribute type. This creates a graph of the form:
The default triple type used by the graph library is edge_t<vertex_t, attr_t>. The user can use an edge type of his own as long as it follows the edge_t's concept requirements.Once the edge class is specified, the graph models of the graph internally use this edge type to store the edges.