Skip to content

Conversation

alessio-vivaldelli
Copy link

Hi! This PR introduces one enhancements based on my experience using the library for a university project.
Specifically, I've added new handlers for single-click and right-click events on vertices, edges, and the canvas itself:

  • setVertexSingleClickAction
  • setVertexRightClickAction
  • setEdgeSingleClickAction
  • setEdgeRightClickAction
  • setCanvasSingleClickAction

I implemented this feature following the existing pattern you established for the double-click handlers to maintain consistency within the codebase.

Btw, if you're interested in taking a look, or perhaps even adding it to the "Projects that use this library" section of your repository, you can find the project here:
https://github.com/alessio-vivaldelli/PetriHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant