      ctx.globalAlpha = 0.3;
            for (const tool of Object.values(tools)) {
               tool.editor.display();
            }
            requestAnimationFrame(animate);
         }

         function dispose() {
            tools["graph"].editor.dispose();
            world.markings.length = 0;
         }

         function save() {
            localStorage.setItem("graph", JSON.stringify(graph));
         }

         function setMode(mode) {
            dissableEditors();
      