0

i am trying to realize: that i can edit (reconnect to another vertex) an existing edge without selecting it before.

I dont find any solutions for that. My idea, i have to find a way to recognize clicks on start or end of a edge and then delete the old connection manually and start a new connection manually.

But i dont find a way to recognize such click event.

Can u help me? Maybe u can tell me how to recognize such event or you can tell that this function is allready implemented and i just have to activate it with the setting xxxx ;)

Flo
  • 1,179
  • 3
  • 15
  • 43
  • I answered a similar question here: https://stackoverflow.com/questions/62469751/mxgraph-which-event-is-fired-when-i-move-a-handle-point-of-an-edge/62528944#62528944, let me know if that helps... – Marco Jul 24 '20 at 07:25
  • Thanks for your answere but i am looking for a way to reconnect an edge to another vertex without select it before – Flo Jul 24 '20 at 10:34
  • How do you want to edit it? Programmatically? Or with specific actions in the interface? – Marco Jul 25 '20 at 12:13
  • So i wish: if i click ( & hold) on start or end of edge - it should disconnect from current port and start a reconnecting like with the: connectionHandler.start(...) – Flo Jul 25 '20 at 13:24
  • Short: I looking for a method or something like that: connectionHandler.edit(edge, terminalToRemove, x, y); – Flo Jul 25 '20 at 14:00

0 Answers0