Closed pavel-krivanek closed 5 years ago
For the horizontal layout, it seems to works properly:
view := RTMondrian new.
view shape rectangle width: [:x | x * 2].
view nodes: (1 to: 99).
view edges connectFrom: [ :x | x // 5 ].
view layout horizontalTree layered.
view.
I have just fixed the issue:
view := RTMondrian new.
view shape rectangle height: [:x | x * 2].
view nodes: (1 to: 99).
view edges connectFrom: [ :x | x // 5 ].
view layout tree layered.
view.
In version 2dd177e0 @girba
Take a look at this script: http://ws.stfx.eu/54G9IO1XX4R2
The issue is that instead of aligning the top left, it kind of centers the entities from the same layer.
This used to work properly, and the tree algorithm did not change. So something must have changed not too long ago related to translations.