Skip to content

Deleting specific routing point #1288

Answered by tortmayr
EightM asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @EightM

unfortunatley this is currently not supported. As you already noticed, the only way to delete a routing point is to straighten the bend.
However, this is a very reasonable request, please feel free to open a feature request for this in https://github.com/eclipse-glsp/glsp/issues
It should be doable by adapting the DelKeyDeleteTool and the DeleteMouseTool. If the element to delete is a routing handle we have to retrieve the corresponding routing point (index) and send a ChangeRoutingPointsOperation with the adapted points to the server instead of a DeleteElementOperation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EightM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants