js"></script>

        

        <div id="allSampleContent" class="p-4 w-full">
          
            
            

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

    myDiagram = new go.Diagram('myDiagramDiv');

    myDiagram.nodeTemplate = new go.Node('Auto')
      .add(
        new go.Shape('Circle', {
          stroke: 'orange',
          strokeWidth: 5,
          spot1: go.Spot.TopLeft,
          spot2: go.Spot.BottomRight
        })
          .bind('stroke', 'color'),
        new go.Panel('Spot')
          