JetBrains / JetBrains/MPS-extensions
Port position in scaled diagram.box wrong
- Dominant language
- JetBrains MPS
- Stars
- 88
- Forks
- 60
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 15
Description
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 ...
Probably easy to fix ... if you know where to look at ;-)
Thanks and Best Regards,
Andreas/Wurzel
Contributor guide
Research direction
Start with de.itemis.mps.editor.diagram.structure.CellModel_DiagramNode and reproduce the issue in the simple KernelF example using a mouse-scaled block. Trace how the owning box scale is applied to port positions; done means the out port remains aligned with the scaled box.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100