">
          
            
            

<script src="../extensions/SpiralLayout.js"></script>

<script id="code">
  function init() {

    myDiagram = new go.Diagram('myDiagramDiv', {
      initialAutoScale: go.AutoScale.Uniform,
      isTreePathToChildren: false, // links go from child to parent
      layout: new SpiralLayout() // defined in SpiralLayout.js
    });

    myDiagram.nodeTemplate = new go.Node('Auto', { locationSpot: go.Spot.Center })
      .add(
        new go.Shape({ figure: 'Circle', fill: