Separate click events

is there any way to set two click events for a single node which has text and icon (like one event when we click the body of the node i.e text part and another click event for the image on the same node)

The click property is defined on the GraphObject class, so it is possible that each object can have its own click function acting as an event handler.

$(go.Node, . . .,
  . . .
    $(go.Picture, . . .,
      {
        click: function(e, picture) { . . . }
      }),
    . . .
    $(go.TextBlock, . . .,
      {
        click: function(e, textblock) { . . . }
      }),
  . . .
)

thanks,it worked