Skip to content

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 VIEW at 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 levelWhat is shown
DetailsAll columns with PK and FK badges, data types, NN and UQ, and auto increment marks
Table names onlyOnly the table name (no columns)
Column namesOnly the names of all columns
Keys onlyOnly 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 keysThe 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.

CardinalityIEIDEF1X
1 (parent default, child 1)One short barOne short bar
0..1Bar + open circleParent side: bar + open circle; child side: filled dot + Z
1..n (child default)Crow's foot + barFilled dot + P
0..nCrow's foot + open circleFilled dot

Palette tools ​

ToolKeyHow to use it
SelectVClick to select, drag to move, drag on empty space to select several.
Hand toolHDragging anywhere on the canvas only moves the view. It stays on after use; end it with Esc or V (from 1.0.2).
TableTCreates a new table where you click.
ViewWCreates a new view where you click.
1:N relationship (one-to-many)RParent → child. FK columns that follow the parent's primary key (PK) are created in the child.
1:N relationship using existing columnsParent → 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 relationshipClick one table to create a relationship to itself, with its FK column.
NoteNCreates 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.
CategoryCDrag to make an area. Nodes inside the area belong to that category.
Insert imagePick 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).
Palette — select, hand, table, view, four relationship tools, note, note connection, category and insert image
Palette — select, hand, table, view, four relationship tools, note, note connection, category and insert image

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 ​

TargetOpens
TableTable properties dialog (double-clicking a column line opens it with that column selected)
ViewView properties dialog
Relationship lineRelationship properties dialog
NoteEdit the text in place (click outside to confirm)
Note connection lineConnection properties dialog (line color)
StampModel properties dialog — Model menu › Model properties
ImageImage properties dialog
Category areaRename 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 › ItemAvailable whenWhat it does
Arrange › Align left · Align center · Align right2 or more nodesAligns left edges, centers or right edges to the node selected last.
Arrange › Align top · Align middle (vertical) · Align bottom2 or more nodesAligns tops, middles or bottoms to the node selected last.
Arrange › Match width · Match height2 or more nodesMakes 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 vertically3 or more tables or notesSpaces the rest evenly between the two outermost nodes.
Arrange › Auto sizeTables, views, notesReturns them to the size that fits their content.
Arrange › Right-angle connectorsConnection linesRedraws the path with horizontal and vertical segments.
Arrange › Restore defaultsConnection lines, or nodes they leave fromRemoves 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 linesConnection lines, or tables they are attached toTidies the bend points and ends of the selected lines and of every line attached to the selected nodes.
Arrange › Background colorNodes or connection linesPaints 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 ▸NodesChanges 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.

Arrange menu — three tables selected with the align and distribute items open
Arrange menu — three tables selected with the align and distribute items open

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 › ItemValues
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 caseShows names in upper case.
View › Show stampShows the model properties table (project name, model name, version and so on) at the top left of the canvas.
View › Curved connectorsDraws 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 › ItemShortcutWhat it does
View › Show design check marksTurns the check marks on the canvas on or off. Design check and suggestions
View › Show info marks on canvasAlso draws info findings on the canvas.
View › Zoom in · Zoom out · 100%Ctrl+= · Ctrl+- · Ctrl+0Changes the zoom level.
View › Fit all · Fit height · Fit widthFits the whole diagram (or its height or width) in the window.
View › Grid · Snap to gridShows the grid and places nodes on it (both on by default).
View › Relationship drawing labelsWhile drawing a relationship, shows a name label above the table under the mouse.
View › Disable column clicksPrevents 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 screenShows 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.
Design check marks at the end of Outline table items — an error ● (reserved word) and a warning ▲ (duplicate logical name)
Design check marks at the end of Outline table items — an error ● (reserved word) and a warning ▲ (duplicate logical name)

Relio is a separate tool, not affiliated with ERMaster.