joint.dia.LinkView is the view for the joint.dia.Link model or any of its inheritants. It inherits from the Backbone View. joint.dia.LinkView is responsible for rendering a link with properties defined in its model into the paper. joint.dia.LinkView takes care of handling pointer events.

It is possible to use custom link view for all your links in the paper. This can be set up via the linkView option on the paper object. There is couple of options that you can use when you inherit from joint.dia.LinkView and decide to use your own link view instead. These option are:

Example:

var paper = new joint.dia.Paper({
    // ...
    linkView: joint.dia.LinkView.extend({
        options: _.defaults({
            doubleLinkTools: true
        }, joint.dia.LinkView.prototype.options)
    }),
    // ...
});