Skip to main content

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.

MC Modeler remembers your working style through a set of user preferences that persist across sessions. Every preference is saved automatically when you change it — there is no “Apply” button. In cloud mode the preferences are stored server-side so they follow you to any browser; in local mode they are kept in IndexedDB.

Where Preferences Are Stored

ModeStorage
Cloud mode (Supabase configured)Saved to the profiles table via IDiagramRepository.savePreferences() — synced across devices
Local mode (no Supabase)Saved to the browser’s IndexedDB (localStorage fallback) — browser-specific
Preferences are loaded once at startup by usePreferencesStore and hydrated into the Zustand store. Any setter (setTheme, setLanguage, …) immediately persists the change so it survives a page reload.

Preference Reference

The UserPreferences interface (defined in src/domain/types.ts) contains the following fields. Defaults come directly from src/store/preferencesStore.ts.

Language

PropertyTypeDefault
language'es' | 'en''es'
Controls the UI language. 'es' renders the interface in Spanish; 'en' in English. The value is also passed to i18n.changeLanguage() so all translations update immediately without a page reload. Change it via Settings → Language or the language toggle in the toolbar.

Theme

PropertyTypeDefault
theme'light' | 'dark' | 'system''light'
Sets the color scheme. 'system' follows your operating-system preference (prefers-color-scheme media query) and updates automatically if you switch OS theme while the app is open. The selected theme is applied by writing data-theme="light" or data-theme="dark" to the <html> element.

Grid

PropertyTypeDefaultDescription
gridEnabledbooleantrueToggles the dot-grid overlay on the canvas
gridSize5 | 10 | 2010Grid spacing in pixels
snapToGridbooleantrueSnaps element positions to the nearest grid point when dragging
gridEnabled and snapToGrid are independent — you can disable the visual grid while keeping snapping active, or show the grid without enforcing snapping. gridSize accepts only the three discrete values 5, 10, and 20; the UI prevents entering arbitrary numbers.

Auto-Save

PropertyTypeDefaultDescription
autoSaveIntervalnumber30Seconds between automatic saves
The auto-save timer resets whenever you manually save with Ctrl+S. Set a lower value (e.g. 10) if you work in unstable network conditions. The status bar shows the time elapsed since the last save.

Last Opened Diagram

PropertyTypeDefault
lastOpenedDiagramIdstring | nullnull
Stores the id of the most recently opened diagram. On the next visit MC Modeler attempts to reopen it directly, bypassing the diagram list. Set to null to always start on the diagram list.

Palette Mode

PropertyTypeDefault
paletteMode'grid' | 'dropdown' | 'bizagi''grid'
Controls how BPMN elements are presented in the element palette.
ValueBehavior
'grid'All elements shown in a flat grid — useful for learners who want to see every element at once
'dropdown'Elements grouped in collapsible dropdown sections
'bizagi'Variants of the same element are stacked under a single button; click-and-hold to pick a variant
bizagi mode is the most efficient choice for experienced BPMN modelers. Inspired by Bizagi Modeler, it keeps the palette compact by grouping element variants (e.g. all start event types) under one button. Once you know the element types by heart, it eliminates visual noise and lets you model faster.
Change it via View → Element palette in the menu bar (options: Main, Grouped, Bizagi).

Comments

PropertyTypeDefaultDescription
showCommentsbooleantrueShows comment thread indicators as badges on canvas elements
When false, comment badges are hidden from the canvas but threads still exist and remain accessible from the right panel. Toggle it via View → Comments in the menu bar or the toolbar button.

Diagram Sort

PropertyTypeDefault
diagramSortDiagramSort{ key: 'updated', dir: 'desc' }
Sets the default sort order for the diagram list. DiagramSort is defined as:
interface DiagramSort {
  key: 'updated' | 'created' | 'name' | 'elements'
  dir: 'asc' | 'desc'
}
KeySorts by
'updated'Last modified date
'created'Creation date
'name'Diagram name (alphabetical)
'elements'Number of BPMN elements in the diagram
The sort preference is saved each time you change the sort order in the diagram list. Clicking the active sort option in the list header reverses the direction (ascdesc).

Summary Table

PreferenceTypeDefaultDescription
language'es' | 'en''es'Interface language
theme'light' | 'dark' | 'system''light'Color theme
gridEnabledbooleantrueShow dot grid on canvas
gridSize5 | 10 | 2010Grid spacing in pixels
snapToGridbooleantrueSnap elements to grid when moved
autoSaveIntervalnumber30Auto-save interval in seconds
lastOpenedDiagramIdstring | nullnullReopens last diagram on next visit
paletteMode'grid' | 'dropdown' | 'bizagi''grid'Palette display style
showCommentsbooleantrueShow comment indicators on canvas
diagramSortDiagramSort{ key: 'updated', dir: 'desc' }Default sort for diagram list

Build docs developers (and LLMs) love