JetBrains / MPS-extensions

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

Diagram: Boxes without ports have connections always begin/end on the left side #285

Open bkolb opened 4 years ago

bkolb commented 4 years ago

Not sure if this a limitation of the layouter or a constraint we have for the layouter

slisson commented 4 years ago

I have never seen this and don't know how to reproduce it.

bkolb commented 4 years ago

Please see an example here:

image

To reproduce: Bugs.zip

slisson commented 4 years ago

Is this an acceptable solution?

Screenshot 2020-02-25 at 13 45 07
bkolb commented 4 years ago

this is my workaround currently :-) I can live with that, although I would prefer if I would have a flag (similar to the one for the order) and let it be optimised by the layouter. For larger diagrams the src/target order is more or less arbitrary and creates confusion on the user side

slisson commented 4 years ago

Then it's the same issue as #284, because it only happens when the ports are on the wrong side.

bkolb commented 4 years ago

kind of, yes. But there could also be the possibility that the port is on the left (intentionally) and the connection should end on the right side of the box without the port. I was not sure if there is a "manual" constraint in our code or if that is a limitation of the layouter

arimer commented 8 months ago

@alexanderpann, @slisson do you know if there was any change trageting this issue?

kbirken commented 8 months ago

I will remove myself as assignee, didn't ever work on this topic.