Module graph_node

Consts

OVERLAY_DISABLED = 0'i64
OVERLAY_BREAKPOINT = 1'i64
OVERLAY_POSITION = 2'i64

Procs

proc title(self: GraphNode): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc title=(self: GraphNode; val: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offset(self: GraphNode): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc offset=(self: GraphNode; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc showClose(self: GraphNode): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc showClose=(self: GraphNode; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc resizable(self: GraphNode): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc resizable=(self: GraphNode; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc selected(self: GraphNode): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc selected=(self: GraphNode; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc comment(self: GraphNode): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc comment=(self: GraphNode; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc overlay(self: GraphNode): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc overlay=(self: GraphNode; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setSlot(self: GraphNode; idx: int64; enableLeft: bool; typeLeft: int64;
            colorLeft: Color; enableRight: bool; typeRight: int64; colorRight: Color;
            customLeft: Texture = nil; customRight: Texture = nil) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearSlot(self: GraphNode; idx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearAllSlots(self: GraphNode) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isSlotEnabledLeft(self: GraphNode; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSlotTypeLeft(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSlotColorLeft(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isSlotEnabledRight(self: GraphNode; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSlotTypeRight(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSlotColorRight(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionOutputCount(self: GraphNode): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionInputCount(self: GraphNode): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionOutputPosition(self: GraphNode; idx: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionOutputType(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionOutputColor(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionInputPosition(self: GraphNode; idx: int64): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionInputType(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectionInputColor(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method guiInput(self: GraphNode; event: InputEvent) {.
gcsafe, locks: 0, raises: [], tags: []
.}