|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
57 virtual int size()
const = 0;
60 virtual int high()
const = 0;
76 virtual const LevelBase& operator[](
int i)
const = 0;
79 virtual int pos(
node v)
const = 0;
82 virtual int size()
const = 0;
85 virtual int high()
const {
return size() - 1; }
87 virtual const Hierarchy& hierarchy()
const = 0;
90 virtual const Array<node>& adjNodes(
node v, TraversingDir dir)
const = 0;
93 int calculateCrossings(
int i)
const;
96 int calculateCrossings()
const;
The namespace for all OGDF objects.
Includes declaration of graph class.
virtual ~HierarchyLevelsBase()
Representation of proper hierarchies used by Sugiyama-layout.
virtual int high() const =0
Returns the maximal array index (= size()-1).
virtual int high() const
Returns the maximal array index of a level (= size()-1).
virtual const node & operator[](int i) const =0
Returns the node at position i.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Declaration and implementation of Array class and Array algorithms.
virtual int size() const =0
Returns the number of nodes on this level.
Representation of levels in hierarchies.
Class for the representation of nodes.