FlexiRule Docs
Rule Builder Canvas & Layout Modes
Learn how to navigate the visual Rule Builder canvas and configure rules using Dialog Modal or Three-Panel Workspace View.
Rule Builder Canvas & Layout Modes#
The Rule Builder is FlexiRule’s visual workspace where you build and edit rules by arranging interactive nodes on an infinite canvas.

Video: Remove a node and reconnect the canvas#
Watch how the Rule Builder reconnects surrounding nodes when a node is removed from the flow.
Accessing the Rule Builder#
You can open the Rule Builder through three primary navigation paths:
- RuleFlow Workspace: Click the Rule Builder shortcut button .
- Rule Document: Open any Rule document and click Rule Builder in the top action bar.
- Awesomebar: Type
Rule Builderin the Frappe search bar (Ctrl KorCmd K) and select the page.
Interactive Layout Modes#
FlexiRule provides two distinct layout experiences to fit your workflow preferences. You can switch between them anytime via Preferences in the top action bar:
1. Three-Panel Workspace View#
The Workspace View organizes the entire rule designer into three side-by-side desktop panels:
- Input / Schema Panel (Left): Browse live schema data from the target document, child table fields, linked records, and available context variables (
@doc,@vars,@session,@parent,@loop). Click any field token to copy or insert it into your configuration. - Visual Canvas (Center): The main interactive flowchart where nodes are rendered, dragged, connected, and rearranged.
- Configuration & Output Panel (Right): Displays the configuration form for the currently selected node, validation error notices, and test execution results.
2. Dialog Modal View#
The Dialog View maximizes your visual canvas space. Clicking any node opens a focused Rule Configuration Modal containing three organized tabs:
- Input / Schema: Inspect available variables, parent fields, and child table scopes.
- Action Settings: Configure the action inputs, operation modes, and field mappings.
- Output / Schema: View return values, set variable outputs (
@vars), and inspect schema contracts.
Navigation & Canvas Controls#
Moving and Zooming#
- Pan: Click and drag any empty space on the canvas to move around.
- Zoom: Scroll your mouse wheel, or use the zoom controls (+ / - / fit view) in the lower canvas toolbar.
Top Menu Action Bar#
The top bar provides essential rule management shortcuts:
| Action | Icon | Shortcut | Description |
|---|---|---|---|
| Undo | Ctrl Z | Revert the last visual or configuration change. | |
| Redo | Ctrl Y | Re-apply reverted changes. | |
| Save | Ctrl S | Save the rule configuration and canvas structure to the database. | |
| Debug | Alt D | Open the live simulation debugger to test against real document records. | |
| Toggle Active | — | Enable or disable rule execution in production. | |
| Auto Layout | Alt L | Automatically clean up and align node positions and connector lines. | |
| Shortcuts | ? | View keyboard shortcuts quick reference overlay. | |
| Copy / Paste | Ctrl C | Copy selected nodes to duplicate within the canvas or across rules. | |
| Preferences | Alt P | Toggle between Dialog Modal mode and Workspace Three-Panel mode. |
Layout direction#
The canvas can be organized Left to Right or Top to Bottom according to the saved RuleFlow Settings preference.


Working with Canvas Nodes#
Every step in your rule flow is represented by a visual node card:
Start Node : Root node created automatically when a rule is initialized. Holds trigger event definitions and optional trigger conditions.
Action Nodes: Colored cards with feature icons representing specific operations (Check , Set Value , Query Records , Notify , Update Record , etc.).
Branch Handles & Connectors: Output handles (e.g. True green port and False red port on Check nodes) connecting to downstream actions.
Node Selection & Reordering: Click any node to open its properties panel. Drag nodes to reposition them smoothly across the infinite canvas.
Deleting Nodes: Select a node and press
DeleteorBackspace, or click Delete in its property drawer. Connecting lines automatically reconnect surrounding nodes.
Visual Execution Path Highlighting#
During testing or when reviewing execution logs, the canvas dynamically highlights execution paths:
- Green Highlight: Successfully executed nodes and active branches.
- Dimmed Gray: Skipped branches and non-executed nodes.
- Red Highlight: Nodes that encountered errors or stopped the flow.

Was this page helpful?