112 const string &diagramName);
118 void addNodeWithGeometry(
node umlNode,
double x,
double y,
double w,
double h);
121 void addEdge(
edge umlEdge);
125 return m_diagramName;
129 const char *getDiagramTypeString()
const;
133 return m_containedNodes;
138 return m_containedEdges;
Declaration of singly linked lists and iterators.
const SList< node > & getNodes() const
Access to contained nodes.
Contains the class UmlDiagramGraph which represents one particular diagram of the complete UML Model...
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
UmlDiagramType m_diagramType
The type of diagram.
SList< double > m_w
This list contains the width of the nodes contained in the represented diagram.
UmlDiagramType
This enum type represents the different diagram types of UML. */.
Singly linked lists (maintaining the length of the list).
const SList< double > & getHeight() const
Access to height.
const UmlModelGraph & m_modelGraph
Reference to the model graph.
string m_diagramName
The name of the diagram.
SList< double > m_h
This list contains the height of the nodes contained in the represented diagram.
SList< double > m_x
This list contains the x-coordinates of the nodes contained in the represented diagram.
Class for the representation of edges.
Class for the representation of nodes.
This class represents the complete UML Model in a graph-like data structure.
const SList< double > & getY() const
Access to y-coordinates.
const string & getDiagramName() const
Returns the name of the diagram.
const SList< double > & getX() const
Access to x-coordinates.
The namespace for all OGDF objects.
SList< double > m_y
This list contains the y-coordinates 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 SList< double > & getWidth() const
Access to width.
const SList< edge > & getEdges() const
Access to contained edges.
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
SList< node > m_containedNodes
This list holds pointer to the nodes contained in the represented diagram.
Contains the class UmlModelGraph which represents the complete UML Model in a graph like data structu...