sprotty icon indicating copy to clipboard operation
sprotty copied to clipboard

Micro layout does not support adjustments made by macro layout

Open spoenemann opened this issue 7 years ago • 0 comments

Currently the micro layout is applied during the hidden rendering cycle before the macro layout is applied. If the macro layout decides to further increase the size of an element, e.g. to ensure there is enough space for the contained elements or the connected edges, the micro layout is not invoked again. This can lead to inconsistencies: for example, if a node label is configured to be centered, it will end up not being in the exact center in such a scenario, since its position has been fixed after the micro layout run.

spoenemann avatar Dec 06 '18 10:12 spoenemann