Multiple link line shapes

Hi,

The usual template for a link is:

$(go.Link,
    $(go.Shape),  // the link shape
    $(go.Shape,   // the arrowhead
      { toArrow: "OpenTriangle", fill: null })
  );

AFAIK, the first element is treated as the link shape; If I specify another element $(go.Shape) it creates a shape on the center of the link. What we would like to have is multiple link shapes, so something like this:

image

  • One link shape with a small strokeWidth
  • One link shape with a larger strokeWidth

is this possible?

basic idea: GoJS Links -- Northwoods Software
example: Process Flow

That works; thanks!