Add mouse click to link

Can you please point me to the documentation that explains how to add a left mouse click to a link. I did see the Events documentation but could find where it explained how to add a mouse click to a link or node for that fact.

Thanks,

Set GraphObject.click, http://gojs.net/latest/api/symbols/GraphObject.html#click.

For examples, search the samples and documentation for “click:” or “.click”.

Thanks for your answer but as a newbie there are hundreds of examples and I have no idea where to begin, could you please point to a couple of examples that set the click event on a link and on a node.

The euler sample is one example: http://gojs.net/latest/samples/euler.html

myDiagram.nodeTemplate =
  $(go.Node, "Auto",
    ...
    {
      cursor: "pointer",
      click: function(e, obj) { window.open("https://en.wikipedia.org/w/index.php?search=" + encodeURIComponent(obj.part.data.text)); }
    }
  );