1 [OGDF](../../README.md) » [Release Notes](../relnotes.md) » Sakura
3 # OGDF Sakura (2012.07)
7 This release is mainly a clean-up and bug-fix release,
8 bringing support for new compilers and fixing some annoying bugs.
11 * Improved compiler support:
12 * Support for the latest compiler versions added (gcc 4.7, Visual Studio 2012).
13 * Support for new compilers / platforms: MinGW on Windows and LLVM/clang on
15 * Adjusted generated project files for Visual Studio, so that source files
16 can now be compiled in parallel.
17 * Support for shared libraries (DLLs for Visual Studio 2008-2012, shared
18 libraries for gcc, LLVM/clang).
19 * Clean-up of classes for planarity testing and embedding:
20 * `PlanarModule` has been renamed to `BoothLueker`.
21 * Introduced a base class `PlanarityModule` for planarity testing and
22 embedding and adjusted the interface of `BoothLueker` and `BoyerMyrvold`.
23 * `extended_graph_alg.h` now contains simple functions for planarity
24 testing and embedding.
25 * Changed the interface of embedder modules from `PlanRep` to `Graph`.
26 `PlanarStraightLayout` and `PlanarDrawLayout` now have a module option for
28 * Various important bugfixes:
29 * Fixed crashes when compiling with gcc and `-O2` or `-O3`.
30 By default, OGDF release builds now use `-O2`.
31 * Fixed crashes of some embedder modules when the input graph contained
32 blocks just consisting of two parallel edges.
33 * Fixed a bug in the special handling of isolated nodes when minimizing
34 crossings with `SugiyamaLayout`. Previous code did not work as intended,
35 the revised code can decrease the number of crossings in many cases.
39 * Clean-up of classes for planarity testing and embedding:
40 * `PlanarModule` has been renamed to `BoothLueker`; both have been
41 adjusted to the new interface specified by `PlanarityModule`.
42 * Introduced a base class `PlanarityModule` specifiying the interface for
43 planarity testing and embedding.
44 * Derived `BoothLueker` and `BoyerMyvold` from `PlanarityModule` and
45 adjusted their interface.
46 * Added new functions for planarity testing and embedding to
47 `extended_graph_alg.h`, making it easier to call this functionality:
48 `isPlanar()`, `planarEmbed()`, `planarEmbedPlanarGraph()`
49 * Remark: If you used `PlanarModule` for planarity testing or embedding
50 in your programs, you have to rewrite your code! The simplest way is
51 to use the above functions from `extended_graph_alg.h` instead.
52 * Changed the interface of embedder modules from `PlanRep` to `Graph`.
53 * Added module option for the embedder to `PlanarStraightLyout` and
56 ## Minor Modifications
58 * Renamed some graph load functions (for consistent naming):
59 * `loadRomeGraphStream` → `loadRomeGraph`
60 * `loadChacoStream` → `loadChacoGraph`
61 * `loadSimpleGraphStream` → `loadSimpleGraph`
62 * `loadBenchHypergraphStream` → `loadBenchHypergraph`
63 * Made `Array2D::det()` method const
64 * Moved definition of `MemElem` to `MallocMemoryAllocator`
65 * Replaced ogdf’s `min`/`max` by `std::min`/`std::max`
66 * Renamed `eLabelTyp` → `eLabelType`
67 * Made destructor of class `Thread` virtual
68 * Documentation adjusted to latest doxygen version (1.8.1.1).
72 * Fixed crashes when compiling with gcc and `-O2` or `-O3`. By default,
73 OGDF release builds now use `-O2`.
74 * Fixed crashes of some embedder modules when the input graph contained
75 blocks just consisting of two parallel edges. Affected where
76 `EmbedderMaxFace`, `EmbedderMaxFaceLayers`, `EmbedderMinDepth`,
77 `EmbedderMinDepthMaxFace`, `EmbedderMinDepthMaxFaceLayers`.
78 * Fixed a bug in the special handling of isolated nodes when minimizing
79 crossings with `SugiyamaLayout`. Previous code did not work as intended,
80 the revised code can decrease the number of crossings in many cases.
81 * Fixed a bug in `makeConnected()`: now also works for empty graphs (just
83 * Added missing header files for `SteinLibParser`.
84 * Corrected various errors when compiling `HyperGraph.h`.
88 * Added support for gcc 4.7.
89 * Added support for Visual Studio 2012.
90 * Added support for MinGW on Windows (just 32-bit MinGW version).
91 * Added support for LLVM/clang on Linux.
92 * Adjusted generated project files for Visual Studio, so that source files
93 can now be compiled in parallel.
94 * OGDF can now be built as DLL with Visual Studio 2008-2012.
95 * OGDF can now be built as a shared library on Linux with gcc and LLVM/clang.
96 * Clean-up of OGDF’s main directory:
97 * Moved project templates to the subdirectory `config`
98 * Moved OGDF’s doxygen configuration file `ogdf-doxygen.cfg`
99 to the subdirectory doc