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 Overview

Flowgraph manager window showing a hierarchical tree view of all graphs, macros, and optionally nodes for project navigation.

Flowgraph manager window showing a hierarchical tree view of all graphs, macros, and optionally nodes for project navigation.


Overview

fg_treeview (window name fg_treeview) renders a tree of all graphs in the current flowgraph project. Root graphs appear at the top level with children nested underneath. Graphs are color-coded by type (graph, macro, instance, state). A text filter allows searching by graph or node name. Clicking a graph selects it in the editor; clicking a node selects it and navigates to it.


Class Fields

FieldTypeDescription
C.windowNamestring'fg_treeview'
C.windowDescriptionstring'Overview'

Class Methods

MethodDescription
C:init()Registers window (150×300), creates text filter
C:attach(mgr)Binds to a flowgraph manager
C:draw()Entry point - calls TreeView() if visible
C:TreeView()Main view: filter + sorted root graphs tree
C:drawGraph(graph)Recursively draws one graph node with type label
C:drawPopups()Context menu: Focus/Delete node
C:fillPassedGraphsArray()Pre-filter graphs/macros matching the text filter
C:skipDrawing(graph)Check if graph should be hidden by filter
C:selectNode(node, append)Select a node in the flowgraph editor canvas

Graph Type Colors

Each graph type is displayed with its registered color from ui_flowgraph_editor.getGraphTypes():

  • Graph / Sub Graph: Default color
  • Macro: Macro-specific color
  • Instance: Instance color
  • State: State graph color (also in name label)

Features

  • Text filter searches graph names and (optionally) node names
  • Graph children and nodes shown when flowgraph.debug.displayNodesInOverview is enabled
  • Current graph highlighted with TreeNodeFlags_Selected
  • Graph type abbreviation shown in brackets after name
  • Debug mode: "Print Graphs" button dumps structure to console

Usage Example

-- Navigate to a specific graph:
self.mgr:selectGraph(targetGraph)

-- Select a node in the canvas:
ui_flowgraph_editor.SelectNode(node.id, false) -- false = not append

Class Fields (Additional)

FieldTypeDescription
C.passedGraphIdstableTracks graph IDs that pass the current text filter

See Also

  • Flowgraph Base Window - Related reference
  • Flowgraph Events - Related reference
  • Flowgraph Examples - Related reference
  • World Editor Guide - Guide

Flowgraph Node Preview

Tooltip popup that renders a live preview of a flowgraph node, macro, or graph when hovering over library items.

Flowgraph Project Settings

Flowgraph manager window for editing project metadata: name, description, author, difficulty, scenario flag, and save location.

On this page

OverviewClass FieldsClass MethodsGraph Type ColorsFeaturesUsage ExampleClass Fields (Additional)See Also