eclipse-sirius / sirius-desktop

Sirius Desktop: desktop-based graphical modelers for dedicated DSLs
https://eclipse.dev/sirius/
Eclipse Public License 2.0
14 stars 11 forks source link

Anchoring of edges on basic shapes does not take transparency into account #161

Open flatombe opened 10 months ago

flatombe commented 10 months ago

Since 3.0, Sirius supports a pretty anchoring of edges on custom shapes of NodeMappings, as described in http://cedric.brun.io/eclipse/sirius-3.0M6-anchors/

This is not the case for basic shapes provided by Sirius (ellipse, parallelogram, diamond, etc.).

pcdavid commented 10 months ago

It looks like AlphaBasedSlidableImageAnchor.getImageFigure(IFigure) does not find any ImageFigureWithAlpha in the hierarchy of figures in the broken cases.

pcdavid commented 10 months ago

Project to reproduce: fixture.zip

Capture d’écran du 2023-11-15 10-25-57