Skip to content

Automatic vs Manual Layouting #1414

Answered by tortmayr
jmenzies12 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jmenzies12,

unfortunatley this is a known issue when using manual layout (#1173).
The implementation of the LayoutOperationHandler is faulty and does not work generically for custom source models.
Currently the ELkLayoutEngine directly manipulates the graphical model (GModel). This works fine for the automatic layout use case
but does not work for the manual use case.
When automatic layout is used the layout information does not need to be persisted in the source model because it will be recalculated after every model update anyways. For manual layouting this is not true and the layout changes (size and position of elements) needs to be stored in the source model. This step is current…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jmenzies12
Comment options

@jmenzies12
Comment options

Answer selected by jmenzies12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants