
         const graphInfo = graphString ? JSON.parse(graphString) : null;
         const graph = graphInfo
            ? Graph.load(graphInfo)
            : new Graph();
         const world = new World(graph);

         const viewport = new Viewport(myCanvas);
         const graphEditor = new GraphEditor(viewport, graph);

         animate();

         function animate() {
            viewport.reset();
            world.generate();
            world.draw(ctx);
            ctx.globalAlpha = 0