API Reference GE Extensions editor flowgraph Flowgraph Properties Flowgraph Properties panel for inspecting and editing selected node data, pin configurations, hardcoded values, custom properties, and graph metadata.
Flowgraph Properties panel for inspecting and editing selected node data, pin configurations, hardcoded values, custom properties, and graph metadata.
fg_properties is the main inspector for the flowgraph editor. When a single node is selected, it shows the node header (with customizable name, icon, color), custom properties, data fields, and detailed input/output pin lists. Pins can be hidden, hardcoded to constant values, retyped, renamed (if custom), reordered, and deleted. When no node is selected, it shows graph properties (name, description, type, children, parent). Supports all flowgraph data types: number, string, bool, vec3, quat, color (including vehicle 8-component color), and table.
Field Type Description C.windowNamestring 'fg_properties'C.windowDescriptionstring 'Properties'
Method Description C:init()Registers window (visible by default), loads header texture C:draw(dt)Main draw: node properties or graph properties C:drawItemHeader(item)Renders colored header with editable name/icon/color C:drawItemProperties(itemType, item)Renders data table + input/output pins C:drawInPins(item)Standard input pin list with type icons and hardcode support C:drawOutPins(item)Standard output pin list with values C:drawCustomInPins(item)Editable input pins (rename, retype, delete, reorder) C:drawCustomOutPins(item)Editable output pins C:drawGraphProperties(graph)Graph name, description, type, children, parent, actions C:drawHardTemplates(pin, item)Dropdown for pin value presets and file selection C:initCustomProperties(item)Initialize name/icon/color edit fields C:customPropertyColor(item, name, cdata)Color picker for custom node properties C:unselect()Clean up when selection changes
Feature Description Hardcode Click pin icon to lock a constant value (bypass links) Un-hardcode Click lock icon to restore normal pin mode Hide/Show Toggle pin visibility (only when unlinked) Retype Change pin data type via combo (custom pins only) Rename Edit pin name with Enter to confirm Reorder Up/Down buttons shift pin position Templates Dropdown with predefined values or file selection Quick Type For any pins, select hardcode type from simple types
Type Widget numberFloat/Int input or slider (configurable via numericSetup) stringText input + multiline popup button boolCheckbox vec33-float input quat4-float input colorColor picker (4-component or 8-component vehicle color with PBR) tableKey-value table editor (limited support)
-- Properties panel automatically shows for selected nodes
-- Hardcoding a pin programmatically:
node : _setHardcodedDummyInputPin (pin, "myValue" )
-- Custom properties are drawn by node:drawCustomProperties(dt)
-- Returns a reason string for history tracking
Method Description C:_drawInputField(path, cdata, type, v, savePath, saveCallback, enterOnly, padRight, pin)Renders appropriate input widget for a given data type C:_drawDataTable(path, cdata, v, savePath, saveCallback, keysEditable)Renders a key-value table editor C:getFirstAllowedType(types)Returns first allowed pin type from a type table, defaults to 'bool' C:showAvailableMacroTags()Renders editable macro tag list with rename/delete
Variable Default Description C.dirtyChildrennilTracks dirty child state previousNodenilModule-level reference to previously selected node (for hide/show lifecycle)