Community
Participate
Working Groups
The Manhattan property should be preserved after using an ELK layout.
Created attachment 276246 [details] project to reproduce
To reproduce: -import the model and design project -launch a runtime and import the sample project -click on the arrange all button on tabbar. KO the layouting does not produce manhattan edges whereas this style is specified in the odesign. The layout algorithm used is ELK Mr Tree. Layout algorithms are made to get optimum results for particular kind of representations. The edges aspect is a part of these algorithms. Some ELK algorithms like ELK layered have an option for edges style. But some others don't have this option. For those that don't have this option, doing a pass on the layouting result that have not taken in consideration the style during its computing could break the good graphical aspect of it . I am not sure it is a good idea. For those that have this option, we could do a bridge between VSM edge style definition and the option available in ELK algorithm. The problem is that the option in ELK algorithms are applied for all edges whereas with the VSM we specify the edge style at a mapping level. I am not sure that it is relevant to be able to specify edges style at a mapping level in VSM for autmatic layout algorithms such as ELK.
The following case can be handled. If the ELK layout pass is producing visually orthogonal edges that can be considered as manhattan but are not, We transform those to manhattan style if the edge segments have strictly the same size.