|Re: SequenceFlow appears on top of the other PictogramElements [message #1087412 is a reply to message #1087280]
||Thu, 15 August 2013 15:54
| Robert Brodt
Registered: August 2010
Location: Colorado Springs, CO
GEF (which is the foundation of Graphiti) uses different layers for drawing shapes and connections, and the connection layer is always drawn on top of the shape layer - there's no way around that. However, you can provide a "clipping strategy" for each of the layers and, in fact, the BPMN2 Modeler defines such a strategy for the connection layer, implemented in the org.eclipse.bpmn2.modeler.ui.editor.ConnectionLayerClippingStrategy class. Currently, this is only used to clip Message Flow connection lines so that the flow's associated Message figure appears to be on top of the connection. This could easily be extended to include other shapes, but the question is which shapes?
I'm open to suggestions here. Please feel free to file an enhancement request for this.
Powered by FUDForum
. Page generated in 0.03434 seconds