alse;
  }
  function load() {
    myDiagram.model = go.Model.fromJson(document.getElementById('mySavedModel').value);
  }

  window.addEventListener('DOMContentLoaded', init);
</script>

<div id="sample">
  <div id="myPaletteDiv" style="border: solid 1px black; width: 100%; height: 160px"></div>
  <div
    id="myDiagramDiv"
    style="border: solid 1px black; width: 100%; height: 500px; margin-top: 3px"></div>
  <p>
    Nodes in this sample use <a>Shape.geometryString</a> to determine their shape. You can s