iangle' }
      ],
      [
        { from: 1, to: 2 },
        { from: 1, to: 3 },
        { from: 3, to: 4 },
        { from: 4, to: 1 }
      ]
    );
  }
  window.addEventListener('DOMContentLoaded', init);
</script>
<div id="sample">
  <div id="myDiagramDiv" style="border: solid 1px black; width: 100%; height: 600px"></div>
  <p>Each node has a "Flow" PanelLayout below the shape listing a bunch of text values in rows.</p>
  <p>
    The context menu shown for each node has three "tabs", each showing some