API ReferenceGE Extensionseditorflowgraph
Flowgraph Events
Flowgraph manager window displaying a scrollable event log with timestamps, severity levels, color coding, and clickable navigation to source nodes/graphs.
Flowgraph manager window displaying a scrollable event log with timestamps, severity levels, color coding, and clickable navigation to source nodes/graphs.
Overview
fg_events renders a chronological event log for the active flowgraph project. Events have severity levels (Debug, Info, Warning, Error, States) with color coding. Supports configurable time format (project time, global time, frame number), duplicate hiding, and auto-scroll. Double-clicking an event with node/graph metadata navigates to that element.
Class Fields
| Field | Type | Description |
|---|---|---|
C.windowName | string | 'fg_events' |
C.windowDescription | string | 'Event Log' |
Class Methods
| Method | Description |
|---|---|
C:init() | Registers window (150×300, hidden by default) |
C:attach(mgr) | Binds to a flowgraph manager |
C:draw() | Draws the event log window |
C:drawContent() | Renders event table with columns: Time, Level, Event |
C:handleMeta(e) | Double-click handler for node/graph navigation |
Event Log Colors
| Level | Color | Meaning |
|---|---|---|
D | Cyan | Debug |
I | Green | Info |
W | Yellow | Warning |
E | Red | Error |
S | Light blue | States |
T | Light purple | Trace |
Usage Example
-- Events are added by the manager during execution
-- The window reads from self.mgr.events list
-- Each event: { time, globalTime, frame, type, name, description, meta, isDuplicate }See Also
- Flowgraph Base Window - Related reference
- Flowgraph Examples - Related reference
- Flowgraph Execution (Task Manager) - Related reference
- World Editor Guide - Guide