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 Examples

Flowgraph manager window for browsing and loading example flowgraph projects from a categorized library with search support.

Flowgraph manager window for browsing and loading example flowgraph projects from a categorized library with search support.


Overview

fg_examples scans /lua/ge/extensions/flowgraph/examples/ for .flow.json files and presents them in a hierarchical tree view organized by folder (beginner, intermediate, expert, nodes). Users can search examples by name or browse the tree. Selecting an example loads it as a new flowgraph manager. Uses frecency-based search scoring.


Class Fields

FieldTypeDescription
C.windowNamestring'fg_examples'
C.windowDescriptionstring'Examples'
C.arrowControllablebooltrue - supports keyboard arrow navigation

Class Methods

MethodDescription
C:init()Registers window, initializes search utility
C:attach(mgr)Binds to a flowgraph manager
C:loadExamples()Scans examples directory, builds tree + lookup table
C:getExamplesLookup()Returns the examples tree and flat lookup
C:draw()Draws search input + results or tree view
C:drawSearchInput()Renders the search text field
C:findExamples(match)Queries search index for matching examples
C:findStuff()Performs the search when input changes
C:displayResults()Renders search results with highlighted matches
C:displayTreeView()Renders the folder tree with sorted examples
C:manageClick(result)Loads the clicked example as a new manager
C:createNode()Triggers selection of current highlighted item
C:navigateList(up)Arrow key navigation through results

Usage Example

-- Examples are auto-discovered from the examples directory
-- Each example has: data (parsed JSON), path, sourcePath, splitPath
-- Loading an example creates a new flowgraph manager:
local mgr = core_flowgraphManager.addManager(result.info.data)

Additional Class Methods

MethodDescription
C:highlightText(label, highlightText)Renders text with search match highlighting
C:recursiveTreeView(element, depth)Recursively renders folder tree with sorted examples
C:handleActionMap()Manages NodeLibrary action map when window is focused
C:arrowHelper(cursor, itemSize, doHover)Keyboard arrow navigation helper with selection highlight

See Also

  • Flowgraph Base Window - Related reference
  • Flowgraph Events - Related reference
  • Flowgraph Execution (Task Manager) - Related reference
  • World Editor Guide - Guide

Flowgraph Events

Flowgraph manager window displaying a scrollable event log with timestamps, severity levels, color coding, and clickable navigation to source nodes/graphs.

Flowgraph Execution (Task Manager)

Flowgraph Task Manager window for starting, stopping, and managing all loaded flowgraph projects with mission variable integration.

On this page

OverviewClass FieldsClass MethodsUsage ExampleAdditional Class MethodsSee Also