• Public
  • Public/Protected
  • All

Class FishboneLink Extension

This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. Extensions can be found in the GoJS kit under the extensions (for loading via script tags),extensionsTS (UMD modules), or extensionsJSM (ES6 modules) folders. See the Extensions intro page for more information.


Custom Link class for FishboneLayout.


Inherited Members




  • Constructs an empty link that does not connect any nodes. If you want the link to be seen, you must provide a Shape as an element to be used as the visual path for the link.

    Usage example:

    // Constructs a Link, sets properties on it,
    // adds a data binding to it,
    // and adds two Shapes to the Link:
    const l = new go.Link({
    routing: go.Link.Orthogonal
    .add(new go.Shape({ strokeWidth: 2 }))
    .add(new go.Shape({ toArrow: "Standard" }))


    • Optional init: Partial<Link>

      Optional initialization properties.

    Returns FishboneLink


  • computeAdjusting(): EnumValue
  • Returns the adjusting value, unless this Link's Diagram is animating and the routing is AvoidsNodes -- then it will return End

    This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method.

    Returns EnumValue

  • computePoints(): boolean
  • Determines the points for this link based on spots and maintains horizontal lines.

    Returns boolean