JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
80 stars 47 forks source link

bugfix/avoid unnecessary layouting of subdiagrams #765

Closed danielratiu closed 5 months ago

danielratiu commented 5 months ago

During model2graph, imbricated diagrams are layouted again and again - this leads to big performance problems of diagrams with several sub-diagrams (e.g. component architectures where the internal structure of top-components are displayed).

This fix performs only one layouting of the subdiagrams as part of the layout of the top-diagram.