This tutorial shows you how to create JointJS elements that contains links pointing to external sites.
The only thing you have to do is to create a shape that contains the SVG a
element in the markup. Then you can just use the xlink:href
attribute to set the target
resource URL.
Also note that you can use the xlink:show
attribute to tell whether the content the link points
to should be
displayed in a new window, or replace the content of the existing window. Possible values for the xlink:show
attribute are "new"
and "replace"
.