API ReferenceGE Extensionsflowgraphnodesdebug
Display Flow
- **Name:** `Display Flow`
Overview
- Name:
Display Flow - Type:
simple - Category:
logic - File:
lua/ge/extensions/flowgraph/nodes/debug/displayFlow.lua - Pattern: Class-based (
C = {}, returns_flowgraph_createNode(C))
Description
Displays a checkbox icon in the editor that shows whether flow is currently reaching this node. Useful for visually debugging flow paths. The tooltip shows the effective FPS of the flow signal.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
value | flow | Inflow for this node |
Behavior
work()records the current frame count and resets the elapsed timer.drawMiddle()compares the current frame count to the last-used frame. If flow arrived within the last 5 frames, displays a green filled checkbox icon; otherwise shows an empty checkbox.drawTooltip()shows the computed flow FPS (1 / lastTime).
Notes
- Known issue: may randomly bug out when first starting execution.
Tags
#flowgraph #node #ge #debug #display #flow
Additional Exports
init()
-
name-string- (see source) -
type-string- (see source) -
description-string- (see source) -
category-string- (see source) -
todo-string- (see source) -
pinSchema-table- (see source) -
tags-table- (see source)
See Also
- AI Debug Display - Related reference
- Camera Mouse Raycast - Related reference
- Comment - Related reference
- FlowGraph Guide - Guide