Canvas and palette
Reading the canvas, the palette tools, selecting and moving, the Arrange menu, display settings in the View menu, zoom, pan and panels, and the outline.
For just the quick ways to get around, see Getting around the canvas in Quick start; for the drawing steps, see Draw tables, columns and relationships.
The parts of the window (menus, toolbar, palette, outline, status bar) and the word "node" are explained in Features › The window.
Reading the canvas
Table boxes
- The table name is in the header, with one line per column below it. Primary key (PK) columns are grouped at the top and separated from the rest by a thin line.
- The PK and FK badges at the left of a column line mark primary key and foreign key columns. A column that is both gets both badges.
- The data type (for example
varchar(100)) appears to the right of the name, and NN (NOT NULL) and UQ (UNIQUE) appear in small letters at the end of the line. - Auto increment (AUTO_INCREMENT) columns get a small circled + right after the name. Hover over it to see "Auto increment".
- Group columns appear as one italic line,
≡ group name. Turn on View › Notation level › Expand groups to show the columns inside the group. - Views look like tables, with
VIEWat the right of the header. - A table with no columns shows a faint "Double-click to add columns" hint (not shown in image exports or printing).
- A new, empty document shows "Add table (T)" and how to create the first table faintly in the middle of the canvas; the hint disappears once you create a node.
Notation level
View › Notation level ▸ chooses what the table boxes show.
| Notation level | What is shown |
|---|---|
| Details | All columns with PK and FK badges, data types, NN and UQ, and auto increment marks |
| Table names only | Only the table name (no columns) |
| Column names | Only the names of all columns |
| Keys only | Only PK and FK columns and columns referenced by other tables, with badges, data types, NN and UQ |
| Detailed (no types) | Details without the data types |
| Column names and keys | The names of all columns with PK and FK badges |
Relationship line ends
A relationship line connects the parent (the referenced table) and the child (the table with the foreign key (FK)). The symbols at the line ends show the cardinality set in the relationship properties dialog; choose IE or IDEF1X in View › Notation ▸. Note connection lines are dashed lines without symbols.
| Cardinality | IE | IDEF1X |
|---|---|---|
| 1 (parent default, child 1) | One short bar | One short bar |
| 0..1 | Bar + open circle | Parent side: bar + open circle; child side: filled dot + Z |
| 1..n (child default) | Crow's foot + bar | Filled dot + P |
| 0..n | Crow's foot + open circle | Filled dot |
Palette tools
| Tool | Key | How to use it |
|---|---|---|
| Select | V | Click to select, drag to move, drag on empty space to select several. |
| Hand tool | H | Dragging anywhere on the canvas only moves the view. It stays on after use; end it with Esc or V (from 1.0.2). |
| Table | T | Creates a new table where you click. |
| View | W | Creates a new view where you click. |
| 1:N relationship (one-to-many) | R | Parent → child. FK columns that follow the parent's primary key (PK) are created in the child. |
| 1:N relationship using existing columns | Parent → child. Opens a dialog to pick the child's existing columns as the FK. | |
| N:M relationship (many-to-many) | Click two tables to create an intersection table between them, connected by two 1:N relationships. | |
| Self-referencing relationship | Click one table to create a relationship to itself, with its FK column. | |
| Note | N | Creates a note where you click; start typing right away. |
| Note connection (dashed line) | Click a note, then the target node, to connect them with a dashed line. | |
| Category | C | Drag to make an area. Nodes inside the area belong to that category. |
| Insert image | Pick an image file (bmp, jpg, jpeg, gif, png) to insert. The image is stored inside the file, so large images make the file large. |
- After one use, a tool returns to Select. Hold Shift while using it to keep the same tool and create several in a row. The hand tool always stays on.
- With a relationship tool, click the first table and then the second, or drag from the first table and drop on the second. Clicking empty space or pressing Esc cancels. Clicking the same table twice with the 1:N relationship tool creates a self-referencing relationship.
- Creating a relationship with the keyboard only — Press Tab to move focus to the parent table, R to pick the relationship tool, and Enter to set the parent. Then Tab to the child table and press Enter to create the relationship.
- If the parent has no primary key, Relio says "No columns to reference — the parent table has no primary key."
- New tables are named in the app language (in English, logical name "New table" and physical name
NEW_TABLE).

Selecting and moving
- Select — Click; Shift+click (or Ctrl+click) to add or remove; drag on empty space to select a range. Esc clears the selection.
- Move — Drag, or use the arrow keys to move by 1 and Shift+arrow keys to move by 10. While dragging, alignment guides appear at the edges and centers of other nodes.
- Size — Select a table or view and drag the left or right handle to change its width. You can widen it freely and narrow it down to the width that still shows all its content. The height always fits the number of columns. Notes, images and categories are resized with their handles.
- Rename in place — F2. Edits a table's physical name or a note's text in place. The field stays open even if you switch to another program and come back, so you can keep typing.
- Properties dialog — Double-click or Enter. Properties dialogs
- Move focus — Tab / Shift+Tab go to the next and previous node.
What double-click opens
| Target | Opens |
|---|---|
| Table | Table properties dialog (double-clicking a column line opens it with that column selected) |
| View | View properties dialog |
| Relationship line | Relationship properties dialog |
| Note | Edit the text in place (click outside to confirm) |
| Note connection line | Connection properties dialog (line color) |
| Stamp | Model properties dialog — Model menu › Model properties |
| Image | Image properties dialog |
| Category area | Rename the category in place |
Working with columns on the canvas
- Click a column inside a table to select that column. Turn on View › Disable column clicks to select only whole tables.
- Drag a selected column to reorder it within the same table, or drop it on another table to move it there. Hold Ctrl while dropping to copy instead of move.
- Columns referenced by other tables cannot be moved. Moving an FK column to another table recreates the relationship so that table becomes the child.
- Group columns move as a group; select a group and press Delete to remove the group from the table.
- Drag a word or group from the outline onto a table on the canvas to add it as a column (group).
Connection lines
- Drag a relationship line to add a bend point, drag a bend point to move it, and double-click a bend point to remove it.
- Drag the end of a relationship line to another spot on the same table's border. Drop it toward the middle of the table to return it to the automatic position.
- Relationship names are not drawn on the line. Select a relationship line to see its name in a tooltip.
Arrange menu
| Menu › Item | Available when | What it does |
|---|---|---|
| Arrange › Align left · Align center · Align right | 2 or more nodes | Aligns left edges, centers or right edges to the node selected last. |
| Arrange › Align top · Align middle (vertical) · Align bottom | 2 or more nodes | Aligns tops, middles or bottoms to the node selected last. |
| Arrange › Match width · Match height | 2 or more nodes | Makes the width or height the same as the node selected first. Table and view heights always fit their content, so Match height does not change them. |
| Arrange › Distribute horizontally · Distribute vertically | 3 or more tables or notes | Spaces the rest evenly between the two outermost nodes. |
| Arrange › Auto size | Tables, views, notes | Returns them to the size that fits their content. |
| Arrange › Right-angle connectors | Connection lines | Redraws the path with horizontal and vertical segments. |
| Arrange › Restore defaults | Connection lines, or nodes they leave from | Removes bend points and returns both ends to their automatic positions. With a node selected, it applies to the lines leaving that node (including note connection lines from a note, but not self-referencing relationships). |
| Arrange › Tidy connection lines | Connection lines, or tables they are attached to | Tidies the bend points and ends of the selected lines and of every line attached to the selected nodes. |
| Arrange › Background color | Nodes or connection lines | Paints the selection with the current color. The current color appears next to the menu item, like (#1E90FF). Picking a color from the toolbar's Background color ▼ makes it the current color. |
| Arrange › Font ▸ · Font size ▸ | Nodes | Changes the font and size of the selected nodes. |
The node used as the alignment reference has a stronger selection outline. The toolbar's Align ▾ repeats the last alignment when you click its main part; click ▾ to choose from the six alignments, Match width or Match height, and horizontal or vertical distribution. When there is nothing to change (for example a line that is already tidy), only a hint appears in the status bar and the document is not changed.

View menu
Display settings saved in the document
These settings are saved in the .erm document; changing them marks the document as changed and can be undone. The same items are in canvas right-click › Document › Show ▸.
| Menu › Item | Values |
|---|---|
| View › View mode ▸ | Logical name · Physical name · Logical/physical name — which name nodes show |
| View › Notation ▸ | IE · IDEF1X — the relationship line end symbols |
| View › Notation level ▸ | Details · Table names only · Column names · Keys only · Detailed (no types) · Column names and keys, plus Expand groups |
| View › Design ▸ | funny — rounded cards · frame — double border · simple — lines |
| View › Show in upper case | Shows names in upper case. |
| View › Show stamp | Shows the model properties table (project name, model name, version and so on) at the top left of the canvas. |
| View › Curved connectors | Draws relationship lines as curves. |
When the logical and physical names are the same, the name is drawn once.
View settings remembered on this PC
| Menu › Item | Shortcut | What it does |
|---|---|---|
| View › Show design check marks | Turns the check marks on the canvas on or off. Design check and suggestions | |
| View › Show info marks on canvas | Also draws info findings on the canvas. | |
| View › Zoom in · Zoom out · 100% | Ctrl+= · Ctrl+- · Ctrl+0 | Changes the zoom level. |
| View › Fit all · Fit height · Fit width | Fits the whole diagram (or its height or width) in the window. | |
| View › Grid · Snap to grid | Shows the grid and places nodes on it (both on by default). | |
| View › Relationship drawing labels | While drawing a relationship, shows a name label above the table under the mouse. | |
| View › Disable column clicks | Prevents selecting individual columns inside tables. When on, it shows in small text in the status bar. | |
| View › Panels ▸ | Palette, Right panel (Outline), Bottom panel (Problem list), Maximize canvas. | |
| View › Start screen | Shows the start screen while documents stay open. |
Zoom and pan
- Zoom in and out — Ctrl+mouse wheel (around the mouse pointer), Ctrl+= · Ctrl+- · Ctrl+0, or the zoom list on the toolbar.
- Move the view — Hold Space and drag (release to return to your tool), the hand tool (H), drag with the middle mouse button, scroll with two fingers on a touchpad, or drag the rectangle in the minimap. While you are typing text, Space types a space.
- Below 40% zoom, nodes are drawn as simple boxes with just their names and category names are shown large, like a map. Image exports and printing always use the normal look.
- The zoom level and view position are saved in the document.
Panels and the start screen
- Collapse and expand the right panel (outline and minimap) with Ctrl+Alt+B and the bottom panel (problem list) with Ctrl+J. The two buttons at the right end of the document tab bar and View › Panels ▸ do the same.
- Maximize canvas — Double-click a document tab or press Ctrl+Shift+M to collapse both panels at once; do it again to return to how they were. The palette is not collapsed.
- The collapsed state is kept the next time you start Relio.
- Start screen — View › Start screen shows the start screen with new, open, samples and recent files. Open documents stay open; click a tab, press Esc or click Back to open documents to return. While the start screen is shown, the document menus and editing shortcuts are off.
Outline
- Type in the Find by name field at the top to filter the lists.
- Click a table or view to expand its columns (group columns show as one line with the group name) and, for tables, its indexes.
- Double-click an item to open its dialog: word → Word properties; group → Manage groups; index, sequence, trigger or tablespace → its properties dialog; table or view → goes to that node on the canvas, selects it and opens its properties dialog; column → opens the table properties dialog with that column selected.
- Drag words and groups onto a table on the canvas to add them as columns.
- Table and view items show the same design check marks as the canvas at the end of the line (error ●, warning ▲, info i) — the most severe finding for that table and its columns. Hover a mark to read the findings (up to five, then "n more"); clicking it works like clicking the item. The marks follow View › Show design check marks, info marks appear only with Show info marks on canvas, ignored findings are left out, and column lines have no marks. Design check
- Right-click for: Delete, Manage groups, Add trigger · Add sequence · Add index · Add tablespace (only those that fit the selected kind), Outline view mode (Logical name · Physical name · Logical+physical name) and Sort by (Logical name · Physical name).
- Rows with a count of 0 are dimmed, and + Add creates the first item right away. Sequences and tablespaces can be added only when the database (version) supports them.
