147 call(G, length, rank);
211 m_subgraph.reset(pSubgraph);
218 void doCall(
const Graph& G,
Declaration of singly linked lists and iterators.
The longest-path ranking algorithm.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
void separateDeg0Layer(bool sdl)
Sets the option separateDeg0Layer to sdl.
bool m_optimizeEdgeLength
Optimize for short edges.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
bool m_sepDeg0
Put isolated nodes on a separate layer?
void optimizeEdgeLength(bool b)
Sets the option optimizeEdgeLength to b.
NodeArray< int > m_ingoing
void alignBaseClasses(bool b)
Sets the option for alignment of base classes to b.
bool m_alignBaseClasses
Align base classes (callUML only).
NodeArray< bool > m_isSource
virtual void call(const Graph &G, const EdgeArray< int > &length, const EdgeArray< int > &cost, NodeArray< int > &rank) override
Computes a node ranking of G with given minimal edge length in rank.
bool m_alignSiblings
Align siblings (callUML only).
bool alignSiblings() const
Returns the current setting of option for alignment of siblings.
Stores additional attributes of a graph (like layout information).
Declaration of graph copy classes.
std::unique_ptr< AcyclicSubgraphModule > m_subgraph
The acyclic sugraph module.
Copies of graphs with mapping between nodes and edges.
Declaration of interface for ranking algorithms.
Class for the representation of nodes.
Declaration and implementation of NodeArray class.
Base class of algorithms for computing a maximal acyclic subgraph.
void alignSiblings(bool b)
Sets the option for alignment of siblings to b.
bool optimizeEdgeLength() const
Returns the current setting of option optimizeEdgeLength.
Declaration and implementation of class Tuple2, Tuple3 and Tuple4.
bool separateMultiEdges() const
Returns the current setting of option separateMultiEdges.
void separateMultiEdges(bool b)
Sets the option separateMultiEdges to b.
NodeArray< SListPure< Tuple2< node, int > > > m_adjacent
The namespace for all OGDF objects.
Declaration of interface for acyclic subgraph algorithms.
bool alignBaseClasses() const
Returns the current setting of alignment of base classes (callUML only).
bool separateDeg0Layer() const
Returns the current setting of option separateDeg0Layer.
Interface of algorithms for computing a node ranking.
bool m_separateMultiEdges
Separate multi-edges?