API ReferenceGE Extensionsflowgraphnodesuiimguielemental
ImGui Separator
- **Node Name:** `im Separator`
Overview
- Node Name:
im Separator - Category:
repeat_instant - File:
extensions/flowgraph/nodes/ui/imgui/elemental/imSeparator.lua
Draws a horizontal separator line in an ImGui window with configurable spacing above and below.
Pin Schema
No pins (empty schema).
Internals
Data Properties
| Property | Default | Description |
|---|---|---|
data.aboveSpacing | 5 | Pixel spacing above the separator |
data.belowSpacing | 5 | Pixel spacing below the separator |
Key Methods
| Method | Description |
|---|---|
init() | Sets default spacing values |
work() | Draws optional dummy spacers and the separator |
How It Works
- If
aboveSpacing > 0, draws an invisibleim.Dummyof that height. - Draws
im.Separator()- a horizontal line. - If
belowSpacing > 0, draws another invisibleim.Dummy.
Usage Example
-- Flowgraph:
-- [im Begin] → [im Text] → [im Separator] → [im Button] → [im End]
-- Under the hood:
im.Dummy(im.ImVec2(0, 5))
im.Separator()
im.Dummy(im.ImVec2(0, 5))Key Dependencies
ui_imgui- ImGui bindings (Separator,Dummy)
See Also
- im Begin (Flowgraph Node) - Related reference
- im Button (Flowgraph Node) - Related reference
- im Checkbox (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide