DOTGraphInterface
stl graph class for directed and undirected graphs
Synopsis
Declared in <src/midend/astDump/DOTGraphInterface.h>
template<
class VertexType,
class EdgeType,
class VertexIterator,
class EdgeIterator>
class DOTGraphInterface;
Member Functions
Name |
Description |
|
destructor |
|
add new subgraph, returns id of the subgraph |
this is the function that can be used to ouput the graph to a DOT file |
Protected Types
Name |
Description |
directions of an edge: no direction, towards target, towards source or bidirectional |
Protected Enums
Name |
Description |
directions of an edge: no direction, towards target, towards source or bidirectional |
Protected Member Functions
Name |
Description |
|
get the direction of an edge |
|
get the label of an edge |
|
get an iterator for all edges of a vertex |
|
get the end of the edges |
|
get a list of the subgraph names, together with their ID's (see also getVertexSubgraphId) |
|
get the target vertex of an edge, NOTE ‐ this function returns a pointer to a vertex for use with vertexToString! |
|
get the name of a vertex |
|
query the subgraph ID of a node |
|
get an iterator for the vertices |
|
get the end of the vertices |
|
get unique string representation of a vertex, NOTE ‐ this function works with a pointer to the vertex! |