RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager
Flowgraph Base WindowFlowgraph EventsFlowgraph ExamplesFlowgraph Execution (Task Manager)Flowgraph Garbage DebugFlowgraph HistoryFlowgraph LegendFlowgraph Main WindowFlowgraph Mission Variable HelperFlowgraph Node LibraryFlowgraph Node PreviewFlowgraph OverviewFlowgraph Project SettingsFlowgraph PropertiesFlowgraph References WindowFlowgraph Search WindowFlowgraph State View WindowFlowgraph Variables WindowFlowgraph Welcome Window

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionseditorflowgraph

Flowgraph References Window

Provides a node reference browser for the flowgraph editor, showing usage statistics across all flowgraph projects.

Provides a node reference browser for the flowgraph editor, showing usage statistics across all flowgraph projects.


Overview

This module implements a flowgraph manager window that catalogs all available node types, tracks their usage across .flow.json files, and provides detailed inspection of individual nodes including pin layouts and behaviour metadata.


Window Properties

PropertyValue
C.windowName"fg_references"
C.windowDescription"References"

Key Functions

FunctionDescription
C:init()Registers the window and initializes search/filter state
C:createNodeTable()Builds the full node catalog from available templates
C:findNodesRecursive(nodeDirectory)Recursively discovers all node types from template tree
C:checkFilesForNodes(initialCheck)Scans .flow.json files in levels/gameplay/examples for node usage
C:fillNodeTable(flowgraphDirectory)Parses flowgraph JSON files and tallies node occurrences
C:updateNodeOccurrence(nodeName, fileName)Increments usage counters per node and per project
C:filterNodes()Applies filter mode (All / Current / Unused) and search text
C:sortCategories()Sorts category statistics by node type count descending
C:sortProjects()Sorts projects for the inspected node by occurrence count
C:addPinsAndBehavioursForCategory(nodeName, category)Adds runtime-only pins (flow, incomplete, complete, reset) based on node category
C:pinExists(nodeName, direction, pinName)Checks if a pin already exists on a node entry
C:highlightText(label, highlightText)Renders text with search matches highlighted in orange
C:draw()Main draw entry; switches between view mode 1 (list) and 2 (detail)
C:drawViewMode1()Draws the searchable node list with occurrence/project/category columns
C:drawViewMode2()Draws detailed node inspection: pin table, behaviours, project list

Filter Modes

ModeDescription
AllShows all known node types
CurrentShows only nodes used in the currently open project
UnusedShows only node types with zero occurrences

Usage Example

-- The references window is created as a flowgraph manager window
-- and registered during flowgraph editor initialization.
-- Users click "Load Data" to scan all projects for node usage.

-- Internally the window scans these directories:
-- /levels/**/*.flow.json
-- /gameplay/**/*.flow.json
-- /lua/ge/extensions/flowgraph/examples/**/*.flow.json

Node Statistics

The window tracks:

  • usedNoteTypeAmount - Number of unique node types found in projects
  • usedNodeInstances - Total node instances across all projects
  • categories - Per-category breakdown of type count and instance count

See Also

  • Flowgraph Editor - Parent editor module
  • Flowgraph Search - Text search within current project
  • Flowgraph Variables - Variable management window

Flowgraph Properties

Flowgraph Properties panel for inspecting and editing selected node data, pin configurations, hardcoded values, custom properties, and graph metadata.

Flowgraph Search Window

Provides project-wide search for nodes, graphs, and pins inside the flowgraph editor with frecency-based ranking.

On this page

OverviewWindow PropertiesKey FunctionsFilter ModesUsage ExampleNode StatisticsSee Also