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

<div id="sample">
  <div style="width: 100%; display: flex; justify-content: space-between">
    <div id="myDiagramDiv" style="flex-grow: 1; height: 725px; margin-right: 4px; border: solid 1px black"></div>
    <div id="mySingletons" style="width: 160px; background-color: whitesmoke; border: solid 1px black"></div>
  </div>
  <p>
    The JavaScript class hierarchy defined by the GoJS library, laid out by a <a>TreeLayout</