Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Stores transient pan, zoom, selection and connection interaction state without ImGui dependencies.

API: scripting
Inherits: object
Project: Inno.Editor.Graph
Scope: Editor

public sealed class InnoEditor.Graph.GraphCanvasState
Kind Element Description
Constructors GraphCanvasState.Constructor No XML description is available.
Methods GraphCanvasState.BeginConnection(InnoEngine.Graphs.GraphEndpoint) Begins a connection drag from one output endpoint.
Methods GraphCanvasState.BeginConnection(InnoEngine.Graphs.GraphEndpoint,InnoEngine.Graphs.GraphPortDirection) Begins a connection drag from one endpoint.
Methods GraphCanvasState.CancelConnection Cancels any active connection drag.
Methods GraphCanvasState.ClearSelection Clears all transient node and edge selection.
Methods GraphCanvasState.PanBy Moves the canvas origin by screen-space pixels.
Methods GraphCanvasState.SelectNodes Replaces node selection.
Methods GraphCanvasState.SetViewport Restores persistent canvas navigation state with bounded zoom.
Methods GraphCanvasState.ToggleNode Toggles one node while preserving the remaining selection.
Methods GraphCanvasState.ZoomAt Changes zoom while preserving the graph point beneath a screen-space pivot.
Properties GraphCanvasState.pan Gets the graph-space origin mapped to canvas screen origin.
Properties GraphCanvasState.pendingConnection Gets the endpoint currently being connected, or null.
Properties GraphCanvasState.pendingConnectionDirection Gets the direction of P:InnoEditor.Graph.GraphCanvasState.pendingConnection.
Properties GraphCanvasState.selectedEdges Gets selected edge identities.
Properties GraphCanvasState.selectedNodes Gets selected node identities.
Properties GraphCanvasState.zoom Gets the current graph-to-screen scale.