Declaration of singly linked lists and iterators.
Contains the class UmlModelGraph which represents the complete UML Model in a graph like data structu...
Class for the representation of edges.
Class for the representation of nodes.
Singly linked lists (maintaining the length of the list).
Contains the class UmlDiagramGraph which represents one particular diagram of the complete UML Model.
UmlDiagramType
This enum type represents the different diagram types of UML. */.
~UmlDiagramGraph()
Destructor.
SList< double > m_y
This list contains the y-coordinates of the nodes contained in the represented diagram.
string m_diagramName
The name of the diagram.
friend std::ostream & operator<<(std::ostream &, const UmlDiagramGraph &)
const SList< node > & getNodes() const
Access to contained nodes.
SList< double > m_x
This list contains the x-coordinates of the nodes contained in the represented diagram.
UmlDiagramGraph(const UmlModelGraph ¨ModelGraph, UmlDiagramType diagramType, const string &diagramName)
Constructor.
void addNodeWithGeometry(node umlNode, double x, double y, double w, double h)
Adds a node with the given coordinates.
void addEdge(edge umlEdge)
Adds an edge.
SList< double > m_h
This list contains the height of the nodes contained in the represented diagram.
SList< edge > m_containedEdges
This list holds pointer to the edges contained in the represented diagram.
const string & getDiagramName() const
Returns the name of the diagram.
UmlDiagramType m_diagramType
The type of diagram.
SList< double > m_w
This list contains the width of the nodes contained in the represented diagram.
const SList< double > & getWidth() const
Access to width.
const SList< double > & getY() const
Access to y-coordinates.
SList< node > m_containedNodes
This list holds pointer to the nodes contained in the represented diagram.
const SList< double > & getHeight() const
Access to height.
const SList< edge > & getEdges() const
Access to contained edges.
const SList< double > & getX() const
Access to x-coordinates.
const char * getDiagramTypeString() const
Returns the type of the diagram as string.
const UmlModelGraph & m_modelGraph
Reference to the model graph.
This class represents the complete UML Model in a graph-like data structure.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.