Skip to content

Commit

Permalink
minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
lypoluz committed Oct 25, 2023
1 parent a0c9d89 commit 449bed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/porting/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ There are currently no breaking changes.

#### A new parameter 'outTree' was added to isArborescence(...) and isArborescenceForest(...).
By default it is set to true.
Set it to false if the root nodes are sinks.
If set to false, root nodes are handled as sinks.
2 changes: 1 addition & 1 deletion src/ogdf/tree/TreeLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ void TreeLayout::call(GraphAttributes& AG) {
firstWalk(ts, root, false);
secondWalkY(ts, root, -ts.m_preliminary[root]);

// compute y-coordinates
// compute x-coordinates
computeXCoordinatesAndEdgeShapes(root, AG);

if (it != roots.begin()) {
Expand Down

0 comments on commit 449bed4

Please sign in to comment.