Skip to content

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

~DOTGraphInterface [destructor] [virtual]

destructor

addSubgraph [virtual]

add new subgraph, returns id of the subgraph

writeToDOTFile

this is the function that can be used to ouput the graph to a DOT file

Protected Types

Name

Description

EdgeDirection

directions of an edge: no direction, towards target, towards source or bidirectional

Protected Enums

Name

Description

Unnamed enum

directions of an edge: no direction, towards target, towards source or bidirectional

Protected Member Functions

Name

Description

getEdgeDirection [virtual]

get the direction of an edge

getEdgeLabel [virtual]

get the label of an edge

getEdges [virtual]

get an iterator for all edges of a vertex

getEdgesEnd [virtual]

get the end of the edges

getSubgraphList [virtual]

get a list of the subgraph names, together with their ID's (see also getVertexSubgraphId)

getTargetVertex [virtual]

get the target vertex of an edge, NOTE ‐ this function returns a pointer to a vertex for use with vertexToString!

getVertexName [virtual]

get the name of a vertex

getVertexSubgraphId [virtual]

query the subgraph ID of a node

getVertices [virtual]

get an iterator for the vertices

getVerticesEnd [virtual]

get the end of the vertices

vertexToString [virtual]

get unique string representation of a vertex, NOTE ‐ this function works with a pointer to the vertex!

Private Data Members

Name

Description

mDotRep

dot representation object

Created with MrDocs