How to Start Edge Creation by Clicking on a Port? #1444
Replies: 1 comment
-
Hi @fengwang913, Is there a particular reason you need to set up your own listener on the click of the port? I believe that if you are using You are correct in that the current
I hope that helps you get started in the right direction! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm currently working on a graph editing tool and I'm facing a challenge with the edge creation process. I'm using the TriggerEdgeCreationAction to initiate the edge creation, but it seems to be in a state where the source is not preselected. This doesn't fully meet my requirements.
My Goal:
I want to achieve a functionality where clicking on a port automatically selects the source, and then the user can simply wait to connect to a target. This would streamline the user experience significantly.
Current Implementation:
Question:
Does anyone have experience with preselecting the source when initiating edge creation through a port click? Are there any specific techniques or workarounds that I could use to achieve this?
Any insights or suggestions would be greatly appreciated. Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions