The view for the joint.dia.Link model. It inherits from joint.dia.CellView and is responsible for:

To find the view associated with a specific link (model), use the findViewByModel method of the paper.

var linkView = paper.findViewByModel(link);

Custom LinkView

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

Example:

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