67template<
class coordType>
187 return (
m_usedLabels & (1 <<
static_cast<int>(elt))) > 0;
217template<
class coordType>
Includes declaration of graph class.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Decralation of GraphElement and GraphList classes.
Declaration of class PlanRepUML.
Basic declarations, included by all source files.
coordType & distDefault()
void setLabel(const edge &e, const EdgeLabel< coordType > &el)
coordType & minFeatDist()
ELabelInterface(GraphAttributes ¨)
GraphAttributes & graph()
coordType getWidth(edge e, LabelType elt)
coordType getHeight(edge e, LabelType elt)
void addLabel(const edge &e, const EdgeLabel< coordType > &el)
EdgeLabel< coordType > & getLabel(edge e)
EdgeArray< EdgeLabel< coordType > > m_labels
ELabelInterface(PlanRepUML &pru)
Class for the representation of edges.
coordType m_xSize[m_numberLabelTypes]
void addType(LabelType elt)
EdgeLabel(edge e, coordType w, coordType h, int usedLabels)
coordType getWidth(LabelType elt) const
void setX(LabelType elt, coordType x)
coordType getHeight(LabelType elt) const
EdgeLabel & operator=(const EdgeLabel &rhs)
EdgeLabel(edge e, coordType w[], coordType h[], int usedLabels=numberUsedLabels)
void setWidth(LabelType elt, coordType w)
EdgeLabel(const EdgeLabel &rhs)
coordType getY(LabelType elt) const
coordType m_xPos[m_numberLabelTypes]
EdgeLabel & operator|=(const EdgeLabel &rhs)
void setY(LabelType elt, coordType y)
EdgeLabel(edge e, int usedLabels=numberUsedLabels)
coordType m_ySize[m_numberLabelTypes]
static const int numberUsedLabels
bool usedLabel(LabelType elt) const
coordType m_yPos[m_numberLabelTypes]
coordType getX(LabelType elt) const
static const int m_numberLabelTypes
void setHeight(LabelType elt, coordType h)
Stores additional attributes of a graph (like layout information).
const Graph & constGraph() const
Returns a reference to the associated graph.
virtual void init(const Graph &G, long attr)
Initializes the graph attributes for graph G.
const Graph & original() const
Returns a reference to the original graph.
internal::GraphObjectContainer< EdgeElement > edges
The container containing all edge objects.
Planarized representation (of a connected component) of a UMLGraph; allows special handling of hierar...
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
int randomNumber(int low, int high)
Returns random integer between low and high (including).
The namespace for all OGDF objects.
@ NumLabels
the number of available labels at an edge