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

Port position in scaled diagram.box wrong #758

Open wuryel opened 5 months ago

wuryel commented 5 months ago

Dear all, I am working with MPS Diagram Support, Version 2022.2.2705.43ab68d

The position of the ports of a diagram.box (de.itemis.mps.editor.diagram.structure.CellModel_DiagramNode) is incorrect if the box is scaled. The position seems to be unaware of the owning box being scaled.

This picture is taken from a simple example of KernelF. The block 'nested' has been scaled using the mouse. But the out port remains at its position ...

Port_position_wrong

Probably easy to fix ... if you know where to look at ;-)

Thanks and Best Regards, Andreas/Wurzel