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 Base Window

Base class for all flowgraph editor windows, providing open/close/toggle, focus tracking, and serialization interface.

Base class for all flowgraph editor windows, providing open/close/toggle, focus tracking, and serialization interface.


Overview

basewindow defines the C class used as a base for all flowgraph manager windows (events, history, properties, etc.). It wraps editor.beginWindow/editor.endWindow and tracks child-window focus state. Derived classes override init(), draw(), and serialization hooks.


Class Methods

MethodDescription
C:init(fgEditor)Store reference to the flowgraph editor
C:Begin(name, flags)Calls editor.beginWindow() with the window's registered name
C:End()Updates hasFocus and calls editor.endWindow()
C:attach(mgr)Attach a flowgraph manager instance
C:open()Show the window via editor.showWindow()
C:close()Hide the window and clear focus
C:toggle()Toggle window visibility
C:__onSerialize()Calls _onSerialize() hook, returns result
C:__onDeserialized(data)Calls _onDeserialized() hook, resets focus

Factory Functions

FunctionDescription
M.createBase(...)Create a plain base window instance (varargs)
M.use(fgEditor, derivedClass)Create a base window and merge a derived class table into it

Usage Example

local basewindow = require('/lua/ge/extensions/editor/flowgraph/basewindow')

local MyWindow = {}
MyWindow.windowName = 'fg_mywindow'
function MyWindow:init()
  editor.registerWindow(self.windowName, imgui.ImVec2(200, 300))
end
function MyWindow:draw()
  if self:Begin("My Window") then
    imgui.Text("Hello")
  end
  self:End()
end

local instance = basewindow.use(fgEditor, MyWindow)

See Also

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

Dynamic Decals Layer Type: Texture Fill

Editor module for the Texture Fill layer type. Applies a repeating texture pattern across the entire vehicle surface with configurable scale, offset, color, and palette mapping.

Flowgraph Events

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

On this page

OverviewClass MethodsFactory FunctionsUsage ExampleSee Also