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

- Rendering an link inside of a paper
- Handling the link's pointer events
- Provides various methods for working with the link (visually)

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:

- shortLinkLength - when link gets shorter than the length specified, the link view will automatically scale down the link tools by half. It defaults to `40`.
- doubleLinkTools - sometimes when links overlap each other, the link tools stack one over the other making it impossible to reach the ones below the top one. By setting `doubleLinkTools` to `true`, you can force the link view to create a copy of the link tools and position it on the other end of the link. Note that this happens only if the link gets longer than `longLinkLength`.
- longLinkLength - when link gets longer than the length specified and `doubleLinkTools` is set to `true`, a copy of the link tools will be rendered on the other end of the link.
- linkToolsOffset - the offset of the link tools from the beginning of the link. It defaults to `40`.
- doubleLinkToolsOffset - the offset of the copy of the link tools from the end of the link. It defaults to `60`. This makes only sense if `doubleLinkTools` is set to `true`.

Example:

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