title: Gojs draw templateLinks depending on nodeTemplateMap
body: <p>I would like to set different offsets of linkTemplate depending of the nodetemplate type.</p>
  <p>Actually I have only one linkTemplate</p>
  <pre><code>dia.linkTemplate =
    $(go.Link,
      // { routing: go.Link.AvoidsNodes },  // link route should avoid nodes
      $(go.Shape, { stroke: 'gray', height: 12 }),
      $(go.TextBlock, 'fiber_manual_record', { font: '20pt Material Icons', stroke: 'gray' },
        {
          segmentIndex: 0, segmentOffset: new go.Point(-9, 8),
          segmentOrientation: go.Link.OrientAlong
        }),
      $(go.TextBlock, 'fiber_manual_record', { font: '15pt Material Icons', stroke: 'gray' },
        {
          segmentIndex: -1, segmentOffset: new go.Point(-1, 8),
          segmentOrientation: go.Link.OrientAlong
        })
    );
  </code></pre>
  <p>but I have two nodeTemplateMap every one have a different shape.</p>
  <p>My problem is that links don't starts on the same level depending on which node is used.</p>