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
.}
proc `title =`*(self: GraphNode; val: string) {.
gcsafe, locks: 0
.}
proc showClose*(self: GraphNode): bool {.
gcsafe, locks: 0
.}
proc `showClose =`*(self: GraphNode; val: bool) {.
gcsafe, locks: 0
.}
proc resizeable*(self: GraphNode): bool {.
gcsafe, locks: 0
.}
proc `resizeable =`*(self: GraphNode; val: bool) {.
gcsafe, locks: 0
.}
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
.}
proc clearSlot*(self: GraphNode; idx: int64) {.
gcsafe, locks: 0
.}
proc clearAllSlots*(self: GraphNode) {.
gcsafe, locks: 0
.}
proc isSlotEnabledLeft*(self: GraphNode; idx: int64): bool {.
gcsafe, locks: 0
.}
proc getSlotTypeLeft*(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc getSlotColorLeft*(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0
.}
proc isSlotEnabledRight*(self: GraphNode; idx: int64): bool {.
gcsafe, locks: 0
.}
proc getSlotTypeRight*(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc getSlotColorRight*(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0
.}
proc setOffset*(self: GraphNode; offset: Vector2) {.
gcsafe, locks: 0
.}
proc getOffset*(self: GraphNode): Vector2 {.
gcsafe, locks: 0
.}
proc setComment*(self: GraphNode; comment: bool) {.
gcsafe, locks: 0
.}
proc isComment*(self: GraphNode): bool {.
gcsafe, locks: 0
.}
proc setSelected*(self: GraphNode; selected: bool) {.
gcsafe, locks: 0
.}
proc isSelected*(self: GraphNode): bool {.
gcsafe, locks: 0
.}
proc getConnectionOutputCount*(self: GraphNode): int64 {.
gcsafe, locks: 0
.}
proc getConnectionInputCount*(self: GraphNode): int64 {.
gcsafe, locks: 0
.}
proc getConnectionOutputPos*(self: GraphNode; idx: int64): Vector2 {.
gcsafe, locks: 0
.}
proc getConnectionOutputType*(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc getConnectionOutputColor*(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0
.}
proc getConnectionInputPos*(self: GraphNode; idx: int64): Vector2 {.
gcsafe, locks: 0
.}
proc getConnectionInputType*(self: GraphNode; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc getConnectionInputColor*(self: GraphNode; idx: int64): Color {.
gcsafe, locks: 0
.}
proc setOverlay*(self: GraphNode; overlay: int64) {.
gcsafe, locks: 0
.}
proc getOverlay*(self: GraphNode): int64 {.
gcsafe, locks: 0
.}

Methods

method guiInput*(self: GraphNode; event: InputEvent) {.
gcsafe, locks: 0
.}