t = 600;

         const ctx = myCanvas.getContext("2d");

         const graphString = localStorage.getItem("graph");
         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 tools = {
            graph: { button: graphBtn, editor: new GraphEditor(viewport, graph) },
        