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

<div id="sample">
  <div id="myDiagramDiv" style="border: solid 1px black; width: 100%; height: 700px; min-width: 200px"></div>
  <p>
    This sample demonstrates a custom Layout, SpiralLayout, which assumes the
    graph consists of a single chain of nodes. The layout is defined in its own
    file, as <a href="../extensions/SpiralLayout.js">SpiralLayout.js</a>.
  </p>

  <p>
    See also <a href="./Serpentine.html">Serpenti