{"id":"dolphin.authoring--dolphinGraphCanvas","name":"dolphinGraphCanvas","owner":"dolphin","package":"dolphin.authoring","kind":"class","signature":"external class dolphinGraphCanvas","description":"A dolphin graph canvas record carrying placements, zoom.","context":"Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.","parameters":[],"returns":"void","members":[{"name":"placements","kind":"field","type":"list of dolphinGraphPlacement","description":"Stores placements as list of dolphinGraphPlacement.","signature":"list of dolphinGraphPlacement placements","tags":["class","field","dolphin.authoring"],"updated":"2026-09-09"},{"name":"zoom","kind":"field","type":"int","description":"Stores zoom as int.","signature":"int zoom","tags":["class","field","dolphin.authoring"],"updated":"2026-09-09"},{"name":"Find","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."}],"returns":"int","signature":"Find(text key) returns int","description":"Find.","tags":["class","method","dolphin.authoring"],"exampleId":"method-Find-2","updated":"2026-09-09"},{"name":"Place","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"int","signature":"Place(text key,int x,int y,int width,int height) returns int","description":"Place.","tags":["class","method","dolphin.authoring"],"exampleId":"method-Place-3","updated":"2026-09-09"},{"name":"ScreenX","kind":"method","parameters":[{"name":"x","type":"int","description":"X."}],"returns":"int","signature":"ScreenX(int x) returns int","description":"Screen x.","tags":["class","method","dolphin.authoring"],"exampleId":"method-ScreenX-4","updated":"2026-09-09"},{"name":"ScreenY","kind":"method","parameters":[{"name":"y","type":"int","description":"Y."}],"returns":"int","signature":"ScreenY(int y) returns int","description":"Screen y.","tags":["class","method","dolphin.authoring"],"exampleId":"method-ScreenY-5","updated":"2026-09-09"},{"name":"WorldX","kind":"method","parameters":[{"name":"x","type":"int","description":"X."}],"returns":"int","signature":"WorldX(int x) returns int","description":"World x.","tags":["class","method","dolphin.authoring"],"exampleId":"method-WorldX-6","updated":"2026-09-09"},{"name":"WorldY","kind":"method","parameters":[{"name":"y","type":"int","description":"Y."}],"returns":"int","signature":"WorldY(int y) returns int","description":"World y.","tags":["class","method","dolphin.authoring"],"exampleId":"method-WorldY-7","updated":"2026-09-09"},{"name":"ZoomAt","kind":"method","parameters":[{"name":"next","type":"int","description":"Next."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."}],"returns":"void","signature":"ZoomAt(int next,int x,int y)","description":"Zoom at.","tags":["class","method","dolphin.authoring"],"exampleId":"method-ZoomAt-8","updated":"2026-09-09"},{"name":"Move","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."}],"returns":"bool","signature":"Move(text key,int x,int y) returns bool","description":"Move.","tags":["class","method","dolphin.authoring"],"exampleId":"method-Move-9","updated":"2026-09-09"},{"name":"Fit","kind":"method","parameters":[{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"void","signature":"Fit(int width,int height)","description":"Fit.","tags":["class","method","dolphin.authoring"],"exampleId":"method-Fit-10","updated":"2026-09-09"}],"tags":["authoring","class","cpu","dolphin","dolphin.authoring","method","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/authoring/src/graph_canvas.yh","line":9,"sha256":"e7c0e8743761a722f2a73c1aa63b9204be9704f81fd663134bb3690c5de6aa95"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use dolphinGraphCanvas","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.authoring\n\n// Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.\ndolphinGraphCanvas sample = dolphinGraphCanvas()\nConsole.Log(Text.From(sample.zoom))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"a820de5e69a32adf89402ea4549ac1f78082921c4828f1edf4a380e40abf10e7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Find-2","title":"dolphinGraphCanvas.Find","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Find.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\ntext argument_key = \"argument key\"\nint result = instance.Find(argument_key)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"4db5f668a2d749dc8b4e85c54aa65f6de0090516ce9fda17aaba2eacadd92a6f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Place-3","title":"dolphinGraphCanvas.Place","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Place.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\ntext argument_key = \"argument key\"\nint argument_x = 1\nint argument_y = 1\nint argument_width = 1\nint argument_height = 1\nint result = instance.Place(argument_key, argument_x, argument_y, argument_width, argument_height)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"2f20be015d5b187e268718c2f88e678d06e99daa0d733f1b5815681141758bc4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ScreenX-4","title":"dolphinGraphCanvas.ScreenX","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Screen x.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\nint argument_x = 1\nint result = instance.ScreenX(argument_x)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"3770a73f7079ce54fe0e43292fa0d665920022bd974d793035c6b3cb50fec815","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ScreenY-5","title":"dolphinGraphCanvas.ScreenY","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Screen y.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\nint argument_y = 1\nint result = instance.ScreenY(argument_y)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"81afeeaa61721416eef836eb18925df0e71323f14b0aafe3f4f1a4c7437de715","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-WorldX-6","title":"dolphinGraphCanvas.WorldX","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// World x.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\nint argument_x = 1\nint result = instance.WorldX(argument_x)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"3376de816d24c895e197d7bb1caa9adf6af42af36319caa7a9bac53c623d5516","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-WorldY-7","title":"dolphinGraphCanvas.WorldY","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// World y.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\nint argument_y = 1\nint result = instance.WorldY(argument_y)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"ed550d5580f842faf9d3e5f8fd5a01471ebda1d1fb3fc5af9a8fe02b9ebc20da","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ZoomAt-8","title":"dolphinGraphCanvas.ZoomAt","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Zoom at.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\nint argument_next = 1\nint argument_x = 1\nint argument_y = 1\ninstance.ZoomAt(argument_next, argument_x, argument_y)\nConsole.Log(\"ZoomAt completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"2caa6e75dd17940a1744258c2cb648ec9308486ed4d6017d6c54bb1ed9ce9e51","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Move-9","title":"dolphinGraphCanvas.Move","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Move.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\ntext argument_key = \"argument key\"\nint argument_x = 1\nint argument_y = 1\nbool result = instance.Move(argument_key, argument_x, argument_y)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"3a9874262c68fb018a8f7e94521432a2a5facf621297fdee462b5363deb0e6dd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Fit-10","title":"dolphinGraphCanvas.Fit","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using dolphin.authoring\n\n// Fit.\ndolphinGraphCanvas instance = dolphinGraphCanvas()\nint argument_width = 1\nint argument_height = 1\ninstance.Fit(argument_width, argument_height)\nConsole.Log(\"Fit completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_authoring__dolphingraphcanvas\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.authoring\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/authoring\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"8262e6f62db7fe2b280b6f946dd3cce0af6b4bfac2d132e244d0be062b77778f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["placements","zoom","Find","Place","ScreenX","ScreenY","WorldX","WorldY","ZoomAt","Move","Fit"],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.authoring--dolphinGraphCanvas","json":"https://demonhunterlabs.com/reference/items/dolphin.authoring--dolphinGraphCanvas.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.authoring--dolphinGraphCanvas.md"}
