!-- * * * * * * * * * * * * * -->
        <!-- Start of GoJS sample code -->
        <script src="../release/go.js"></script>

        

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

<script id="code">
  // this controls whether the tree grows deeper towards the right or downwards:
  const HORIZONTAL = true;

  function init() {

    // The Diagram just shows what should be visible in the viewport.
    // Its model does NOT include node data for the whole graph