How to get the double clicked object in listener "ObjectDoubleClicked"

Hello,
in this listener :
myDiagram.addDiagramListener(“ObjectDoubleClicked”,(e)=>{
// code
})
how can i get the node that is double clicked ? the only way i found is e.subject.Vm. But i think it’s not recommended and it doesnt always work.
thanks for your help

This is discussed in GoJS Events -- Northwoods Software, which has an example of an “ObjectSingleClicked”, and Page Not Found -- Northwoods Software

“ObjectDoubleClicked”, a double-click that occurred on a GraphObject; the DiagramEvent.subject is the GraphObject; if you make any changes, start and commit your own transaction.

So:
e is a DiagramEvent
e.subject is the clicked GraphObject
e.subject.part is the clicked Part (presumably a Node in your case)
e.subject.part.data is the model data for the node