Skip to main content

Settings

Open it with the Settings button in the toolbar, or from quick search under Tab. The Settings screen has two tabs: Preferences and Shortcuts. Preferences opens first.

Theme colors are not on this screen. They live in the theme builder, which opens from the Theme button in the toolbar and is only there when the host turns it on with enableThemeBuilder.

Relationship DataType Sync

Determines whether to synchronize data types. It is on by default. Changing a column's data type then applies the same type to every column joined to it by a relationship, following the chain from both ends, so a foreign key never drifts from the key it references.

Relationship data type sync setting

demo-relationship-data-type-sync

Save Scroll Information

Determines whether the scroll position is saved in the document. It is on by default. With it off, the document is written with the scroll position reset, so it opens at the top left.

Save Zoom Information

Determines whether the zoom level is saved in the document. It is on by default. With it off, the document is written at 100%, so it opens unzoomed.

Maximum Comment Width

Specifies the maximum width of the comment column in pixels (60 ~ 200). Turning the switch off removes the limit, and the input is disabled while it is off. Turning it on starts at 60px. A value typed outside the range is clamped to the nearest end.

Maximum comment width setting Maximum comment width applied to a diagram

Recalculation Table Width

Press Sync to recalculate the width of every table and column cell to fit its current text, and to redraw the relationship connectors around the new sizes. A Recalculated table width toast confirms it. Widths are recalculated on their own whenever a document is loaded, so this is only needed when a font or rendering change has left them stale.

Adjusting Column Order

Sets the display order of columns in tables. Drag a row to move it — the whole row is draggable, and the grip icon marks it. The seven rows, in their default order, are Name, DataType, Not Null, Unique, Auto Increment, Default, and Comment. A cell hidden by a table view option keeps its place in the list, so the order applies to whichever cells are shown.

demo-settings-column-order

Shortcuts

The Shortcuts tab is a read-only table of Command and Keybinding, listing the bindings for the platform you are on.

CommandWindows/LinuxMac
EditingEnterEnter
StopESCESC
SearchCtrl + K⌘ + K
UndoCtrl + Z⌘ + Z
RedoCtrl + Shift + Z⌘ + Shift + Z
Add TableAlt + N⌥ + N
Add ColumnAlt + Enter⌥ + Enter
Add MemoAlt + M⌥ + M
Remove Table, MemoCtrl + Backspace, Ctrl + Delete⌘ + Backspace, ⌘ + Delete
Remove ColumnAlt + Backspace, Alt + Delete⌥ + Backspace, ⌥ + Delete
Primary KeyAlt + K⌥ + K
Select All Table, MemoCtrl + Alt + A⌘ + ⌥ + A
Select All ColumnAlt + A⌥ + A
Relationship Zero OneCtrl + Alt + 1⌘ + ⌥ + 1
Relationship Zero NCtrl + Alt + 2⌘ + ⌥ + 2
Relationship One OnlyCtrl + Alt + 3⌘ + ⌥ + 3
Relationship One NCtrl + Alt + 4⌘ + ⌥ + 4
Table PropertiesAlt + Space⌥ + Space
Zoom InCtrl + Plus⌘ + Plus
Zoom OutCtrl + Minus⌘ + Minus

Most of these fire on the ERD tab only, and they are held back while quick search, table properties, the diff viewer, automatic table placement, or time travel is open. Search and Stop are the exceptions: Search toggles quick search from any tab, and Stop is what closes quick search, table properties, the diff viewer, automatic table placement, time travel, and the theme builder. Copy and paste are the browser's own Ctrl + C and Ctrl + V (Windows/Linux) or ⌘ + C and ⌘ + V (Mac), so they are not in this list — see Table Editing.

Bindings cannot be changed from this tab. A host embedding the editor remaps them with setKeyBindingMap, except Editing, Stop, Search, Undo, Redo, Zoom In, and Zoom Out, which are fixed.