Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Projects and presents an arbitrary graph viewport without owning document mutations or domain semantics.

  • Draws and hit-tests neutral graph nodes using the frame’s frozen viewport projection.

API: scripting
Inherits: System.ValueType
Project: Inno.Editor.Graph.ImGui
Scope: Editor

public readonly struct InnoEditor.Graph.GraphCanvasView
Kind Element Description
Constructors GraphCanvasView.Constructor Creates a frame-local graph presenter over navigation owned by its document.
Methods GraphCanvasView.BoxNodes Finds nodes intersecting a screen-space selection rectangle in document draw order.
Methods GraphCanvasView.DrawConnection Draws a horizontal-tangent connection using the same curve used for hit testing.
Methods GraphCanvasView.DrawGrid Draws a bounded graph-space grid through the current UI drawing context.
Methods GraphCanvasView.DrawNode Draws a visible neutral node and its ports, borrowing optional content only for this call.
Methods GraphCanvasView.HitConnection Checks pointer distance against the displayed cubic connection without any UI or document access.
Methods GraphCanvasView.HitNode Finds the frontmost node beneath a pointer using the same geometry as drawing.
Methods GraphCanvasView.HitPort Finds a port by its displayed socket or label row, without interpreting its domain type.
Methods GraphCanvasView.NodeBounds Projects neutral node geometry, optionally substituting a transient drag position.
Methods GraphCanvasView.ToGraph Converts a screen location back into graph coordinates.
Methods GraphCanvasView.ToScreen Projects a graph-space location into the current screen rectangle.
Properties GraphCanvasView.zoom Gets the graph-to-screen zoom captured for this frame, independently of later navigation changes.