 mouseDrop: dropOntoNode
      }, obj);
    }

    function shapeStyle(obj={}) {
      return Object.assign({ name: 'SHAPE', fill: 'white' }, obj);
    }

    function textStyle() {
      return { name: 'TEXTBLOCK', textAlign: 'center', editable: true };
    }

    // define the Node templates
    myDiagram.nodeTemplate = // regular action steps
      new go.Node('Auto',
        nodeStyle({ deletable: true, minSize: new go.Size(10, 20) }))
        .add(
          new go.Shape(shapeStyle()),
          new go