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

Connection in graphical should draw crossings properly #66

Open kbirken opened 6 years ago

kbirken commented 6 years ago

From mbeddr.core created by kbirken : mbeddr/mbeddr.core#1474

If two connections in the graphical editor cross each other, it is not possible to distinguish which goes where. Little "bridges" should be drawn instead of plain crossings. Or dots should be draw if the crossing is actually a merging of connections. See attached example from current implementation (which contains both types of crossings).

bildschirmfoto 2016-08-16 um 17 00 31
alexanderpann commented 11 months ago

Not sure if it helps but those intersections are called junction points in ELK and are an output of the layout algorithms. Maybe we could use this information to draw proper crossings. The used library jgraphx doesn't have support for those line jumps. This was only later implemented in the JS version of this library.