LayoutEngine: LayoutConfigurator should be layout time
The LayoutConfigurator allows to pass layout parameters for a node, an edge or the graph: OK.
The LayoutConfigurator is created at diagram load time via the options of configureELKLayoutModule: NOK for 2 reasons:
- the LayoutEngine only need the configurator at layout time
- layouting parameters might only be known at layout time
- in our case, we want to freeze the non-selected nodes (or to limit the layout to the selected nodes)
Suggestion: add an optional parameter configurator:LayoutConfigurator in LayoutEngine.layout.
@MichelSc Thank you very much for proposing this your feature request! And sorry for the delayed response. For some reason the issue wasn't correctly added to our project board.
It's an interesting idea, but at the moment, it's not part of our immediate roadmap. However, we're always excited about community contributions. If you're keen on implementing this feature, we're more than happy to assist you in every step of the journey.
Please note that there is also https://github.com/eclipse-glsp/glsp/issues/1173 which we do have on our roadmap (upper third of backlog). I'm not quite sure how fast we can get to it, but we do like to address https://github.com/eclipse-glsp/glsp/issues/1173.