The canvas is the central workspace of MC Modeler. Built on bpmn-js v18, it renders a fully interactive BPMN 2.0 diagram where you can drag elements, draw connections, resize containers, and model complex processes — all inside the browser with no installation required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Aston2710/mc-modeler/llms.txt
Use this file to discover all available pages before exploring further.
Layout Overview
The editor is organized into four main areas that work together:Palette Panel
Fixed on the left (~215 px). All 37 BPMN elements organized by category. Collapsible with the ◁ button to maximize canvas space.
Canvas Area
The central modeling surface powered by bpmn-js. Dot-grid background, minimap in the bottom-right corner, zoom 25 %–400 %.
Properties Panel
Fixed on the right (~280 px). Shows the editable properties of the selected element, or a “No selection” message. Collapsible.
Status Bar
Bottom strip showing: save state, current zoom level, number of open tabs, validation summary, and a keyboard-shortcuts link.
Diagram Tabs
MC Modeler supports multiple diagrams open simultaneously. A tab bar sits just below the toolbar and above the canvas area.- Each tab shows the diagram icon + truncated name + × to close.
- The active tab has a colored accent indicator.
- Double-click a tab label to rename the diagram inline.
- Click + at the right end of the tab bar to open an additional diagram.
- Up to 5–6 tabs are shown before an overflow menu appears.
Opening a new diagram or switching tabs clears the undo/redo history for the previously active diagram. The history is per-tab.
Navigation
Panning
| Action | Result |
|---|---|
Space + drag | Pan the canvas |
| Drag on empty canvas area | Pan the canvas |
| Middle-mouse drag | Pan the canvas |
Zooming
| Action | Result |
|---|---|
| Mouse wheel | Zoom in / zoom out |
+ button in toolbar | Zoom in one step |
− button in toolbar | Zoom out one step |
Fit-to-screen button (⤢) | Fit all elements in view |
Ctrl + 0 | Reset zoom to 100 % |
Selection
- Single selection
- Multi-select
- Deselect
Click any element on the canvas to select it. The element highlights with a blue selection ring, and its properties appear in the right panel.
- Move them together by dragging any selected element.
- Delete all with
DeleteorBackspace. - Copy with
Ctrl+C, cut withCtrl+X, paste withCtrl+V.
Moving and Resizing Elements
Moving: Click and drag any element to reposition it. When snap-to-grid is enabled, movement snaps to the configured grid size. Smart alignment guides appear while dragging to help align with neighboring elements. Resizing: Pools, lanes, sub-processes, groups, and phases show resize handles on their edges. Drag any handle to resize. Tasks, events, and gateways have fixed sizes set inElementSizes.ts:
| Element type | Default size |
|---|---|
| Task / Sub-process | 90 × 60 px |
| Gateway | 50 × 50 px |
| Event | 36 × 36 px |
| Pool (expanded) | 600 × 250 px |
| Lane | 400 × 100 px |
| Data object | 36 × 50 px |
| Text annotation | 100 × 30 px |
| Group | 300 × 300 px |
| Phase | 200 × 250 px |
Grid and Snap
Grid and snap settings live in User Preferences (UserPreferences.gridEnabled, gridSize, snapToGrid).
Grid sizes
Choose 5 px, 10 px, or 20 px.
Visual grid
Toggle the dot-grid background display independently of snap.
Snap to grid
Elements snap to the nearest grid point when moved or resized.
Undo / Redo
MC Modeler maintains a full action history per diagram session, supporting a minimum of 100 undo steps.| Shortcut | Action |
|---|---|
Ctrl + Z | Undo last action |
Ctrl + Shift + Z | Redo |
Ctrl + Y | Redo (alternative) |
Canvas Toolbar
The toolbar above the canvas provides quick access to the most common operations:| Button | Action |
|---|---|
| Undo | Undo last change |
| Redo | Redo last undone change |
Zoom in (+) | Increase zoom |
Zoom out (−) | Decrease zoom |
| [85%] | Current zoom level (click to type a custom value) |
Fit to screen (⤢) | Fit all content in the viewport |
Validate (✓) | Run BPMN validation on-demand |
| Save | Immediately persist the diagram |
Context Pad
When you select an element on the canvas, a small floating context pad appears next to it with contextual actions:Connect
Click the arrow icon on the context pad, then click another element to create a sequence flow (or message flow if the target is in a different pool).
Change type
Click the wrench/morph icon to change the element to a different BPMN type within the same category (e.g., turn a plain task into a user task).
Minimap
A minimap is displayed in the bottom-right corner of the canvas. It shows a scaled-down overview of the entire diagram, with a shaded rectangle indicating the current viewport position. Click or drag inside the minimap to navigate quickly to any part of a large diagram.Auto-Save
MC Modeler saves your work automatically so you never lose progress.When does auto-save trigger?
When does auto-save trigger?
- 20-second timer — a timer starts (with up to 5 s of random jitter to prevent write collisions in collaborative sessions) whenever unsaved changes are detected. It resets each time a new change arrives before the timer fires.
- Immediately on tab switch — when you switch away from a dirty diagram, its contents are persisted in the background before the next diagram loads.
- On
Ctrl+S— triggers an immediate save at any time.
How do I know the diagram is saved?
How do I know the diagram is saved?
The status bar on the bottom left shows one of three states:
| Indicator | Meaning |
|---|---|
🟢 Saved 12 s ago | No pending changes |
🟡 Unsaved changes | Changes not yet persisted |
⏳ Saving… | Save in progress |
Where is the data stored?
Where is the data stored?
In v1.0, diagrams are stored entirely in the browser using
localforage (IndexedDB with a localStorage fallback). No server is involved. Clearing your browser data will erase your diagrams — export important work as .bpmn files for safekeeping.Keyboard Shortcuts Overview
The most frequently used shortcuts are listed below. For the complete reference, open the Keyboard Shortcuts modal withCtrl + ? or click the Shortcuts ? link in the status bar.
| Shortcut | Action |
|---|---|
Ctrl + Z | Undo |
Ctrl + Shift + Z | Redo |
Ctrl + A | Select all |
Ctrl + C / X / V | Copy / Cut / Paste |
Delete / Backspace | Delete selected elements |
Ctrl + S | Save immediately |
Ctrl + 0 | Reset zoom to 100 % |
Space + drag | Pan canvas |
Escape | Deselect / cancel action |
Ctrl + ? | Open keyboard shortcuts modal |
On macOS, replace
Ctrl with Cmd for all shortcuts above.