How to Customize Right-Click Menu in Vertex to Run a Custom Action

Is there a way to run a custom action by right-clicking on an object within a Vertex graph? One example workflow I have in mind is as follows: the user right-clicks on an object in the graph, selects “Edit Object” (a custom action), and an action form pops up, allowing the user to edit the selected object.

I think you can achieve this with the vertex widget in Workshop. There, you can get the selected object as an output und specify what should happen…