dolphin.authoring · class ·

dolphinGraphCanvas

A dolphin graph canvas record carrying placements, zoom.

authoringclasscpudolphindolphin.authoringmethodsource-example

Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.

external class dolphinGraphCanvas

Status: source-declared

Fields and methods (11)
list of dolphinGraphPlacement placements
Stores placements as list of dolphinGraphPlacement.
int zoom
Stores zoom as int.
Find(text key) returns int
Find. Complete example
Place(text key,int x,int y,int width,int height) returns int
Place. Complete example
ScreenX(int x) returns int
Screen x. Complete example
ScreenY(int y) returns int
Screen y. Complete example
WorldX(int x) returns int
World x. Complete example
WorldY(int y) returns int
World y. Complete example
ZoomAt(int next,int x,int y)
Zoom at. Complete example
Move(text key,int x,int y) returns bool
Move. Complete example
Fit(int width,int height)
Fit. Complete example

Use dolphinGraphCanvas

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using dolphin.authoring

// Represent editable scenes and graph canvases, validate edits, and manage undoable transactions.
dolphinGraphCanvas sample = dolphinGraphCanvas()
Console.Log(Text.From(sample.zoom))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.Find

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Find.
dolphinGraphCanvas instance = dolphinGraphCanvas()
text argument_key = "argument key"
int result = instance.Find(argument_key)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.Place

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Place.
dolphinGraphCanvas instance = dolphinGraphCanvas()
text argument_key = "argument key"
int argument_x = 1
int argument_y = 1
int argument_width = 1
int argument_height = 1
int result = instance.Place(argument_key, argument_x, argument_y, argument_width, argument_height)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.ScreenX

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Screen x.
dolphinGraphCanvas instance = dolphinGraphCanvas()
int argument_x = 1
int result = instance.ScreenX(argument_x)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.ScreenY

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Screen y.
dolphinGraphCanvas instance = dolphinGraphCanvas()
int argument_y = 1
int result = instance.ScreenY(argument_y)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.WorldX

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// World x.
dolphinGraphCanvas instance = dolphinGraphCanvas()
int argument_x = 1
int result = instance.WorldX(argument_x)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.WorldY

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// World y.
dolphinGraphCanvas instance = dolphinGraphCanvas()
int argument_y = 1
int result = instance.WorldY(argument_y)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.ZoomAt

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Zoom at.
dolphinGraphCanvas instance = dolphinGraphCanvas()
int argument_next = 1
int argument_x = 1
int argument_y = 1
instance.ZoomAt(argument_next, argument_x, argument_y)
Console.Log("ZoomAt completed")
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.Move

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Move.
dolphinGraphCanvas instance = dolphinGraphCanvas()
text argument_key = "argument key"
int argument_x = 1
int argument_y = 1
bool result = instance.Move(argument_key, argument_x, argument_y)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"

dolphinGraphCanvas.Fit

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using dolphin.authoring

// Fit.
dolphinGraphCanvas instance = dolphinGraphCanvas()
int argument_width = 1
int argument_height = 1
instance.Fit(argument_width, argument_height)
Console.Log("Fit completed")
project.mech
manifestVersion = "2"
package = "api.example.dolphin_authoring__dolphingraphcanvas"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "dolphin.authoring"
version = "0.1.0"
path = "../../../dolphin/packages/authoring"

[[dependencies]]
package = "dolphin.math"
version = "0.1.0"
path = "../../../dolphin/packages/math"

[[dependencies]]
package = "dolphin.spatial3d"
version = "0.1.0"
path = "../../../dolphin/packages/spatial3d"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

dolphin/packages/authoring/src/graph_canvas.yh:9