   return c.directionPoint(p);
                    }),
                  new go.Shape('Circle', { width: 2, height: 2, fill: '#444' })
                )
            ),
          new go.TextBlock({
              row: 1,
              font: 'bold 11pt sans-serif'
            })
            .bind('text')
        )
    );

    myDiagram.nodeTemplateMap.add('BarMeter',
      new go.Node('Table', {
        ...commonNodeStyle(),
        scale: 0.8
      })
        .apply(applyCommonNodeStyleBindings)
        .add(