Skip to main content



      Home
Home » Eclipse Projects » Sirius » How to enable "jump" feature for all edges in new Diagram by default?
How to enable "jump" feature for all edges in new Diagram by default? [message #1849358] Thu, 13 January 2022 10:46 Go to next message
Eclipse UserFriend
Hi,

in my diagram I would like all edges to "jump" other edges by default. This property does not seem to be provided by the edge styles, however. It seems to me that it con only changed by the end-user on an edge-by-edge basis.

How can I make all my edges to "jump" each other by default?

Thanks!
Re: How to enable "jump" feature for all edges in new Diagram by default? [message #1849367 is a reply to message #1849358] Fri, 14 January 2022 04:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi Konrad,

I think you can find what you are looking for in the Sirius preferences: Window > Preferences > Sirius > Sirius Diagram > Connections. Check " Jump links " and select the Status you want, it will take effect for all new created edges. This feature has been implemented quite recently but is available in Sirius 6.6.0.
I hope this helps you.

Best regards
Glenn
Re: How to enable "jump" feature for all edges in new Diagram by default? [message #1849370 is a reply to message #1849367] Fri, 14 January 2022 06:23 Go to previous messageGo to next message
Eclipse UserFriend
Well, yes, that is what I was looking for. However, I would love to set it promatically, so not every user has to do it for himself. Is there a way to achieve this?
Re: How to enable "jump" feature for all edges in new Diagram by default? [message #1849372 is a reply to message #1849370] Fri, 14 January 2022 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Hi again Konrad,

We have the following APIs that allow to manage the position of edges in a "jump links" context:

  • org.eclipse.sirius.diagram.tools.api.command.view.BringElementsToFront
  • org.eclipse.sirius.diagram.tools.api.command.view.BringElementsForward
  • org.eclipse.sirius.diagram.tools.api.command.view.SendElementsBackward
  • org.eclipse.sirius.diagram.tools.api.command.view.SendElementsToBack

I admit that I am not familiar with this subject, please let us know if this doesn't meet your needs.

Best regards,
Glenn
Re: How to enable "jump" feature for all edges in new Diagram by default? [message #1849377 is a reply to message #1849372] Fri, 14 January 2022 15:03 Go to previous message
Eclipse UserFriend
Great, thanks! I will try it out.
Previous Topic:Cannot Modify Resource Set
Next Topic:Sequence Diagram
Goto Forum:
  


Current Time: Mon Jun 23 03:20:54 EDT 2025

Powered by FUDForum. Page generated in 0.08354 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top