Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

doc/relnotes/bubinga.md
Go to the documentation of this file.
1 [OGDF](../../README.md) » [Release Notes](../relnotes.md) » Bubinga
2 
3 # OGDF Bubinga (2007.11)
4 
5 Released 2007-11-23.
6 
7 This is the second public release of OGDF.
8 This release focuses on improved usability, but also contains new functionality.
9 
10 Highlights:
11  * New algorithm for planar augmentation with fixed embedding.
12  * The planar drawing algorithms Planar-Straight, Planar-Draw, and Mixed-Model can now be called with a given planar embedding.
13  * New class `DualGraph` representing the geometric dual graph of a combinatorial embedding.
14  * Consistent interface for planarization layout that allows to call with `GraphAttributes`.
15  * Sugiyama layout now produces drawings with given node ranks that are also respected across different connected components.
16  * Hashing functions can now be passed as template parameters; the implementation of two-dimensional hash-arrays has been revised and allows now using different types for each index.
17  * Optional template parameter for index type of array-based classes.
18  * Unified naming conventions and interfaces.
19  * Improved build system for Visual Studio, including support for compiling with Osi Coin and creating projects for Visual Studio 2003.
20  * Significantly improved documentation.
21 
22 ## New Features
23 
24  * Additional (optional) template parameter for used size/index type in
25  `Array`, `ArrayBuffer`, `BoundedQueue`, `BoundedStack`, `MinHeap`,
26  and `Top10Heap`.
27  * Specification of hash function as (optional) template parameter in
28  `Hashing` and `HashArray`.
29  * The default hash function is implemented by `DefHashFunc<K>` (instead
30  of function `hash()`); this can be extended to further types by
31  specializing `DefHashFunc`.
32  * Revised implementation of `HashArray2D`.
33  * Supports now different types for each index.
34  * The hash function can be passed as (optional) template parameter.
35  * `entry(const I&, const I&)` → `operator()(const I1&,const I2&)`
36  * Iterators: `key(I&, I&)` → `key1()` and `key2()`
37  * The new class `DualGraph` represents the geometric dual graph of a
38  combinatorial embedding.
39  * New augmentation algorithm for planar biconnected augmentation with
40  fixed embedding (class `PlanarAugmentationFix`).
41  * Planar drawing algorithms now implement a call for drawing with a given
42  planar embedding.
43  * The base class `PlanarGridLayoutModule` defines this interface.
44  * `PlanarStraightLayout`, `PlanarDrawLayout`, and `MixedModelLayout`
45  implement this interface.
46  * The planarization layout can now be called with `GraphAttributes` like
47  other layout algorithms; setting/getting of options made consistent with
48  ogdf naming style. The following changes were done:
49  * `UMLPlanarizationLayout` → `PlanarizationLayout`
50  * `UMLLayoutModule` inherits from `LayoutModule`
51  * `PlanarizationLayout` has now a `call(GraphAttributes&)`
52  * `setCliqueSize(int)` → `minCliqueSize(int)`
53  * added `int minCliqueSize()`
54  * `preProcessCliques(bool)` → `preprocessCliques(bool)`
55  * added `bool preprocessCliques()`
56  * `SugiyamaLayout` has a new option `arrangeCCs` (deciding whether components
57  are laid out separately and arranged afterwards) and a new module option
58  packer (for arranging connected components). Setting `arrangeCCs` to false
59  and passing node ranks directly allows to get a layout which truly respects
60  the layering across all connected components.
61  * `LongestPathRanking` has a new option `optimizeEdgeLength`;
62  setting this option to false gives a longest-path ranking as known from
63  the literature; default is true which is same behavior as before (performs
64  additional optimization for reducing edge lengths).
65 
66 ## Minor Modifications
67 
68  * Unified interface for containers (`ArrayBuffer`, `BinaryHeap`,
69  `BoundedQueue`, `BoundedStack`, `MinHeap`, `Top10Heap`).
70  * `size()` returns the current number of elements in the container.
71  * `capacity()` returns the maximal number of elements that can be stored in the container (if applicable).
72  * `empty()` returns true if the container contains no elements.
73  * `full()` returns true if the current number of elements has reached the capacity (if applicable).
74  * `clear()` removes all elements from the container.
75  * Unified naming conventions for array classes:
76  * `Array2` → `Array2D`
77  * `HashingArray` → `HashArray`
78  * `TwoDHashArray` → `HashArray2D`
79  * `TwoDHashIterator` → `HashConstIterator2D`
80  * Usage of `size_t` instead of `int` in:
81  * `BendString::BendString(char, size_t)`
82  * `BendString::operator[](size_t)`
83  * `BendString::size()`
84  * `BendString::set(char, size_t)`
85  * `BendString::init(char, size_t)`
86  * `String::String(size_t, const char *)`
87  * `String::length()`
88  * `String::operator[](size_t)`
89  * Removed `String::operator const char *()`; use the new method `String::cstr()` instead.
90  * Usage of `const String&` instead of `const char*` in:
91  * `CliqueFinder::writeGraph(Graph &, NodeArray<int> &, const String &)`
92  * `GraphAttributes::readGML(Graph &, const String &)`
93  * `GraphAttributes::writeGML(const String &)`
94  * `GraphAttributes::readXML(Graph &G, const String &fileName)`
95  * `GraphAttributes::writeXML(const String &, const char*, const char*)`
96  * `GraphAttributes::readRudy(Graph &, const String &)`
97  * `GraphAttributes::writeRudy(const String &)`
98  * `String::compare(const String &,const String &)`
99  * `GraphAttributes` return now default values for type(node) and type(edge)
100  even if the respective arrays are not initialized.
101  * Renamed `GraphStructure` → `GraphObserver`.
102  * The methods `assignNode()`, `unassignNode()`, and `removeNodeAssignment()`
103  in `ClusterGraph` are now private (not meant for public use).
104  * Added constructor `PlanRepUML(const GraphAttributes&)`.
105  * Changed default augmenter of `PlanarStraightLayout` and `PlanarDrawLayout`
106  to `PlanarAugmentation`.
107  * Removed `OrthoFormerUML` (obsolete).
108  * Renamed `OrthoFormerGENERIC → OrthoShaper`.
109  * Renamed `UMLOrthoLayout → OrthoLayout`.
110  * Renamed `UMLPlanarLayoutModule → LayoutPlanRepModule`.
111  * Revised design of `ClusterPlanarizationLayout`:
112  * `ClusterPlanarizationLayout` does not inherit from `UMLLayoutModule` anymore.
113  * Removed unsupported call methods.
114  * Removed (unused) module options subgraph and inserter.
115  * Changed type of `planarLayouter` to new module type
116  `LayoutClusterPlanRepModule`.
117  * Changed base class of `ClusterOrthoLayout` to `LayoutClusterPlanRepModule`.
118  * Renamed `ClusterOrthoFormer` to `ClusterOrthoShaper`.
119  * Renamed `ClustererBase` → `ClustererModule`
120  and moved header `ClustererModule.h` to `ogdf/module/`.
121  * Logging output of Coin Osi solver turned off by default
122  (previous version produced some output in debug builds).
123 
124 ## Bug Fixes
125 
126  * Fixed possible rounding error in `LPSolver::checkFeasibility()`.
127  * Fixed C++ template syntax for `print()` function of `BoundedQueue`.
128  * Removed `LPSolver::` in declaration of `LPSolver::checkFeasibility()`
129  (did not compile with some g++ versions).
130 
131 ## Build System
132 
133  * Visual Studio project file: Added configuration file `makeVCProj.config`
134  for specifying project template and optional settings for LP-solver.
135  * Support for Visual Studio 2003 (Visual C++ 7.1) by selecting
136  `ogdf.vcproj.vs2003.template` as project template.
137  * Linux/g++ makefile: Build targets renamed to `release`, `cleanrelease`,
138  etc. (instead of `release_all`, `release_clean`).
139  * Available make targets are now `debug`, `saferelease` (`-O0`), and
140  `release` (`-O1`); default is `release` which yields a typical
141  performance gain over the previous release (with `-O0`) by a factor
142  of 2.5−12. We discourage using `-O2` or `-O3` with g++, since this is
143  not stable.