Declaration and implementation of EdgeArray class.
Declaration and implementation of NodeArray class.
Dynamic arrays indexed with edges.
Class for the representation of edges.
Data type for general directed graphs (adjacency list representation).
NodeType
The type of nodes.
EdgeType
The type of edges (only used in derived classes).
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
This class represents the complete UML Model in a graph-like data structure.
void setModelName(const string &name)
Sets the name of the model.
NodeArray< string > m_nodeLabel
The label of the contained nodes.
~UmlModelGraph()
Destructor.
const Graph::EdgeType & type(edge e) const
Returns a const reference to the type of the given edge.
EdgeArray< Graph::EdgeType > m_eType
The types of the contained edges.
string m_modelName
The name of the model.
const Graph::NodeType & type(node v) const
Returns a const reference to the type of the given node.
NodeArray< Graph::NodeType > m_vType
The types of the contained nodes.
Graph::EdgeType & type(edge e)
Returns a reference to the type of the given edge.
string & label(node v)
Returns a reference to the label of the given node.
const string & getNodeLabel(node v) const
Returns a const reference to the label of the given node.
UmlModelGraph()
Constructor.
Graph::NodeType & type(node v)
Returns a reference to the type of the given node.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.