API ReferenceGE Extensionsflowgraphnodesdebug
Mini Graph
- **File:** `extensions/flowgraph/nodes/debug/miniGraph.lua`
Overview
- File:
extensions/flowgraph/nodes/debug/miniGraph.lua - Name:
Mini Graph - Category:
repeat_instant - Description: A small graph window that plots a single numeric value over time. Supports viewport clamping and autoscale.
Pin Schema
Input Pins
| Name | Type | Description |
|---|---|---|
value | number | Value to be logged into the graph. |
Output Pins
None.
Behavior
- init(): Initializes graph data buffer (100 samples), scale range (0–1), autoscale enabled, stop disabled.
- work(): If not stopped, appends the current input value to the graph buffer. Auto-adjusts min/max scale if
autoScaleis true. Maintains a rolling window of 100 data points.
Node Display
- Renders a 200×60 pixel line graph in the node body using
im.PlotMultiLines. - Graph displays white line on the current data buffer.
Data Properties
| Property | Default | Description |
|---|---|---|
scaleMin | 0 | Minimum Y-axis value (viewport clamp). |
scaleMax | 1 | Maximum Y-axis value (viewport clamp). |
autoScale | true | Automatically adjusts viewport to fit data. |
stop | false | Pauses data collection when true. |
Tags
#flowgraph #node #ge #debug #graph
Additional Exports
drawMiddle(builder, style)
-
builder -
any -
style -
any -
name-string- (see source) -
description-string- (see source) -
color-any- (see source) -
icon-any- (see source) -
category-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