The `joint.dia.ToolsView` class works as a container for one set of link tools (an array of `joint.dia.ToolView` objects). It is responsible for rendering the tools as a group when the tools view is attached to a joint.dia.LinkView.

To create a new tools view object, we call its constructor. Two optional arguments are accepted:

name | string | The name of this tools view. Default is `null` (no name).
tools | Array<dia.ToolView> | An array of tools that should be a part of the tools view. Default is `[]` (no tools).

Creating a tools view is the second step in the process of setting up link tools on a link view:

    // 1) creating link tools
    var verticesTool = new joint.linkTools.Vertices();
    var segmentsTool = new joint.linkTools.Segments();
    var boundaryTool = new joint.linkTools.Boundary();

    // 2) creating a tools view
    var toolsView = new joint.dia.ToolsView({
        name: 'basic-tools',
        tools: [verticesTool, segmentsTool, boundaryTool]
    });

    // 3) attaching to a link view
    var linkView = link.findView(paper);
    linkView.addTools(toolsView);

Every link view we want to attach to requires its own tools view object (`ToolsView` objects are automatically reassigned to the last link view they are added to). Similarly, every tools view we create requires its own set of tools (`ToolView` objects are automatically reassigned to the last `toolsView.tools` array they were made part of).