myPaletteDiv', {
      initialScale: 1.2,
      contentAlignment: go.Spot.Center,
      nodeTemplate: myDiagram.nodeTemplate, // shared with the main Diagram
      'contextMenuTool.isEnabled': false,
      layout: new go.GridLayout({
        cellSize: new go.Size(1, 1),
        spacing: new go.Size(5, 5),
        comparer: keyCompare
      }),
      // initialize the Palette with a few "pipe" nodes
      model: new go.GraphLinksModel({
        copiesArrays: true,
        copiesArrayObjects: true,
        li