ui/flowgraph/editor_api_luaintf Reference
Module defined in `lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua`. Lua bindings for the flowgraph node editor C++ API (`Engine.fge`). Provides ID types, enum constants, and editor control
Module defined in lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua. Lua bindings for the flowgraph node editor C++ API (Engine.fge). Provides ID types, enum constants, and editor control functions.
Exports
Returns a function function(M) that adds the following to the flowgraph editor API table:
ID Constructors
M.PtrToId(obj) - Get numeric ID from an editor object
M.NodeIdPtr() - Create a new NodeId (initialized to 0)
M.LinkIdPtr() - Create a new LinkId (initialized to 0)
M.PinIdPtr() - Create a new PinId (initialized to 0)
Enum Constants
M.StyleColor_Bg,M.StyleColor_Grid,M.StyleColor_NodeBg,M.StyleColor_NodeBorder,M.StyleColor_HovNodeBorder, etc.- All
fge.enum.*style and interaction enums
Editor Functions
- Node creation, linking, selection, layout, and rendering functions
- Wraps the ImGui Node Editor C++ API
Internal Notes
- 313 lines of bindings
- Uses
Engine.fge(flowgraph editor) C++ module - Uses
ui_imgui(aliased asim) for ImGui integration - Pattern:
return function(M)- extends shared API table
ui/improfiler Reference
Module defined in `lua/common/extensions/ui/improfiler.lua`. ImGui-based LuaJIT profiler visualization - renders profiling data as an in-game overlay using ImGui.
ui/flowgraph/editor Reference
Module defined in `lua/common/extensions/ui/flowgraph/editor.lua`. Flowgraph visual scripting editor API - type system, node categories, variable editors, vehicle selectors, and display utilities.