80 virtual string getLengthString(
edge e)
const = 0;
111 return m_pathNode[v];
122 return m_extraRep[v];
127 return m_border[e] > 0;
132 return m_border[e] == 2;
142 return m_edgeToBasicArc[e];
160 void writeGML(
const char *fileName)
const;
162 void writeGML(std::ostream &os)
const;
180 return m_extraNode[v];
bool extraNode(node v) const
Returns node status.
EdgeArray< int > m_border
only used for cage precompaction in flowcompaction computecoords
node extraRep(node v) const
Returns extraNode existing anchor representant.
const PlanRep & getPlanRep() const
const OrthoRep & getOrthoRep() const
Returns underlying OrthoRep.
Data type for general directed graphs (adjacency list representation).
NodeArray< node > m_pathNode
segment containing a node in PG
Declaration of orthogonal representation of planar graphs.
NodeArray< bool > m_extraNode
Node does not represent drawing node as we dont have positions we save a drawing representant and an ...
const Graph & getGraph() const
Returns underlying graph.
edge basicArc(edge e) const
Returns constraint arc representing input edge e in constraint graph.
Orthogonal representation of an embedded graph.
ConstraintEdgeType
Types of edges in the constraint graph.
Declaration of a base class for planar representations of graphs and cluster graphs.
NodeArray< edge > m_originalEdge
save edge for the basic arcs
Dynamic arrays indexed with edges.
Singly linked lists (maintaining the length of the list).
Dynamic arrays indexed with nodes.
NodeArray< node > m_extraRep
existing representant of extranodes position anchor
Tuples of two elements (2-tuples).
A common base class for ogdf::GridCompactionConstraintGraphBase and ogdf::CompactionConstraintGraphBa...
Class for the representation of edges.
EdgeArray< int > m_cost
cost of an edge
ConstraintEdgeType typeOf(edge e) const
Returns type of edge e.
bool fixOnBorder(edge e) const
Returns true if edge is subject to length fixation if length < sep.
Class for the representation of nodes.
int cost(edge e) const
Returns cost of edge e.
inserted to replace some reducible in fixzerolength
node pathNodeOf(node v) const
Returns the segment (path node in constraint graph) containing v.
const SListPure< node > & nodesIn(node v) const
Returns list of nodes contained in segment v.
can be compacted to zero length
Declaration of simple graph algorithms.
can be compacted to zero length, can be fixed
NodeArray< SListPure< node > > m_path
list of nodes contained in a segment
The namespace for all OGDF objects.
Declaration of extended graph algorithms.
bool onBorder(edge e) const
Returns true if edge lies on cage border.
EdgeArray< ConstraintEdgeType > m_type
constraint type for each edge
EdgeArray< edge > m_edgeToBasicArc
basic arc representing an edge in PG
Planarized representations (of a connected component) of a graph.