I am using the GOJS (http://www.gojs.net/latest/index.html) and have a diagram with some nodes on it which have their own data model structure.
I am attaching a "ObjectDoubleClicked" event like so:
Diagram.addDiagramListener("ObjectDoubleClicked", function (e)
{
// Do something
});
The event fires just fine but I am unable to get the subject (bring the node) of the event. The e.subject stays undefined.
As I have multiple node types which would be dropped on the diagram , I need to manage them.
What is the best way for me to get the node which was double clicked?
Thanks,