console.log('Loading dart...', go.Model);
        var script = document.createElement('script');
        script.onload = function () {
            console.log('Dart loaded!');
        };
        script.src = 'example/flowchart/main.dart.js';

        document.head.appendChild(script); 
    }
    </script>
</head>

<body>

  <div style="width: 100%; display: flex; justify-content: space-between">
    <div id="palette" 
      style="width: 100px; margin-right: 2px; background-color: #282c34;"></div>
    <div 