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 Node Preview

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

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


Overview

nodePreview creates a secondary flowgraph editor context to render a small preview of a node, macro, or graph inside an ImGui tooltip. When the user hovers over items in the node library or overview, this popup shows the node's visual appearance, name, path, description, and TODO notes.


Class Fields

FieldTypeDescription
C.windowKindstring'nodePreview' (not a registered window)

Class Methods

MethodDescription
C:init()Initializes hover state, preview size (200×200)
C:attach(mgr)Binds to manager, creates a dummy graph for previews
C:setNode(node)Set a node template for preview
C:setMacro(macro)Set a macro for preview
C:setGraph(graph)Set a graph for preview
C:draw()Renders the tooltip with node canvas or macro info

Preview Modes

ModeContent
"node"Creates temporary node instance, renders in preview editor
"graph"Renders all nodes/links of the graph in preview editor
"macro"Shows name, type, and description text only

Usage Example

-- Called by the node library when hovering:
self.fgEditor.nodePreviewPopup:setNode(nodeTemplate)

-- Called by overview when hovering a graph:
self.fgEditor.nodePreviewPopup:setGraph(graph)

-- The draw() method is called each frame; it shows tooltip only when hover is set
-- After drawing, the main window calls setNode(nil) to clear

See Also

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

Flowgraph Node Library

The node library window and context menu for browsing, searching, and creating flowgraph nodes, variables, macros, and states.

Flowgraph Overview

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

On this page

OverviewClass FieldsClass MethodsPreview ModesUsage ExampleSee Also