.TextBlock(textStyle(), { margin: 4 }).bindTwoWay('text')
        );

    myDiagram.nodeTemplateMap.add('Start', new go.Node('Auto',
      nodeStyle({ desiredSize: new go.Size(32, 32)})
    )
      .add(
        new go.Shape('Circle', shapeStyle()),
        new go.TextBlock(textStyle(), 'Start').bindTwoWay('text')
      )
    );

    myDiagram.nodeTemplateMap.add('End', new go.Node('Auto',
        nodeStyle({ desiredSize: new go.Size(32, 32) })
      )
      .add(
        new go.Shape('Circle', shapeStyle()