Skip to main content

Grid area

Grid area is an area intended for editing a diagram. You can easily add new items, change their appearance and positioning, or remove them.

In this section you will find what interface elements you have available for each diagram item depending on the mode the editor is initialized in. The section also explains how to facilitate ease of designing a diagram via using keyboard shortcuts or operating several selected items at once.

note

Distance between points in the Grid area depends on the value of the grid step

Managing shapes

Interface elements in the default mode

You can drag shapes from the left panel into the grid area to place them on the desired positions and connect them.

When you click on any shape, it becomes editable and gets personal interface elements:

  • a toolbar with controls:
    • "copy" - to create a copy of the shape (except for the shape placed inside a group or a swimlane);
    • "connect" - to activate the mode for setting connections to a different shape;
    • "remove" - to delete the selected shape;
  • resizing handles (pull the handles of the editable shape to change its sizes);
  • a rotate icon (press the icon to rotate the shape).

When the connection mode is enabled for a shape, you can set links to other shapes, adjust their position and form, as well as delete unnecessary links via the "remove" toolbar control.

Double-click the text of a shape to edit it.

Interface elements in the org chart mode

You can drag shapes to place them on the desired positions relative to the root shape, or drag the root shape to move the whole diagram. To add a new shape, select a shape and add a new child for it. You can also add assistant or partner items. The connection between parent shape and its partner is always horizontal.

The shapes are draggable from one parent item to another. The moved item is dragged with all its children.

When you click on any shape, it becomes editable and gets personal interface elements:

  • a toolbar with controls:
    • "add" - to add a new child for the selected shape;
    • "add assistant" - to add assistant for the selected shape;
    • "add partner" - to add partner for the selected shape;
    • "align vertically" - to arrange children of the shape vertically;
    • "align horizontally" - to arrange children of the shape horizontally;
    • "remove" - to delete the selected shape (except for the root one) with its children;
  • resizing handles (pull the handles of the editable shape to change its sizes);
  • an icon to collapse/expand child shapes.

When you click on assistant or partner shape, it becomes editable and gets personal interface elements:

  • "remove" - to delete the selected shape

Double-click the text of a shape to edit it.

Interface elements in the mindmap mode

You can drag shapes to place them on the desired positions relative to the root shape, or drag the root shape to move the whole diagram. If you drag the parent shape, the shape will be moved with all its child shapes. To add a new shape, select a shape and add a new child for it. The shapes are draggable from one parent item to another. The moved item is dragged with all its children.

When you click on any shape, it becomes editable and gets personal interface elements:

  • a toolbar with controls:
    • "add" - to add a new child for the selected shape (except for the root one);
    • "addLeft" - to add a new child to the left of the root shape;
    • "addRight" - to add a new child to the right of the root shape;
    • "remove" - to delete the selected shape (except for the root one) with its children;
  • resizing handles (pull the handles of the editable shape to change its sizes);
  • an icon to collapse/expand child shapes.

Double-click the text of a shape to edit it.

Managing lines

In the default mode, you can set links to other shapes, adjust their position and form, as well as add text to the line and delete unnecessary links.

In the default mode, you can also add text to the line by double-clicking on it. Click the text to define its direction or delete it. Double-click the text to edit it.

Managing groups

You can drag groups from the left panel into the grid area to place them on the desired positions. You can put several shapes or other groups into a group and move them as a unit, copy, or delete.

When you click on any group, it becomes editable and gets personal interface elements:

  • a toolbar with controls:
    • "copy" - to create a copy of the group (except for the group placed inside another group or a swimlane);
    • "remove" - to delete the selected group;
  • resizing handles (pull the handles of the editable group to change its sizes).

Double-click the text in the header of the group to edit it.

Managing swimlanes

You can drag a swimlane from the left panel into the grid area to place it on the desired position.

When you click on any swimlane, it becomes editable and gets personal interface elements:

  • a toolbar with controls:
    • "addRowLast" - to add a new row at the end of the swimlane;
    • "addColumnLast" - to add a new column at the end of the swimlane;
    • "copy" - to create a copy of the swimlane;
    • "remove" - to delete the selected swimlane;
  • resizing handles (pull the handles of the editable swimlane to change its sizes).

Besides, there are the abilities to add, move, or remove columns or rows of the swimlane via the options of the context menu. The context menu will appear after the user clicks on the icon of a swimlane subheader.

Note, that some options of moving the first/last columns and rows are deactivated by internal settings of a swimlane.

Editing attributes of an item

After selecting an item in the grid area, you can update its attributes via the sidebar options in the right panel of the editor.

Configuring toolbar per-item

You can customize the personal toolbar of shapes, groups, swimlanes according to your needs via the shapeToolbar property of the editor.

Enabling/disabling snap lines

The feature is available only in the default mode of Editor

From v5.0, the Grid area is equipped with snap lines which will simplify the process of placing shapes symmetrically to each other.

If you need to change the width and color of the lines, or to hide them at all, use the magnetic property of Editor.

Using hotkeys

There is a set of hotkeys you can use while creating a diagram in the editor:

HotkeyDescription
Ctrl (Cmd) + CCopy an item(s) (in the default mode only)
Ctrl (Cmd) + VPaste an item(s) (in the default mode only)
Alt (Option) + Ctrl (Cmd) + СCopy styles of an item (added in v5.0)
Alt (Option) + Ctrl (Cmd) + VPaste styles of an item (added in v5.0)
Shift + Left ClickSelect several items
Ctrl (Cmd) + ASelect all items
Ctrl + ZRevert the latest action
DelDelete an item(s)
ArrowsMove an item(s) left/right/up/down

Manipulating multiple items

It is possible to select several diagram items via hovering them over with the left mouse button pressed. You can also select necessary items using keyboard shortcuts - Shift+Left Click.

You can operate all the selected items at once, namely:

  • to copy and paste items (in the default mode only);
  • to drag the items;
  • to delete the items;
  • to paste the copied item's styles
  • to align a group of items (in the default mode only).

You can select and delete lines when the editor is initialized in the default mode only.

Aligning multiple items

The feature is available only in the default mode of Editor.

From v5.0, you can align or distribute a group of items by selecting them and clicking the necessary control in the toolbar. The available controls are:

ControlDescription
Align leftAlign items to the left along the x-axis
Align horizontal centersAlign items to the center along the x-axis
Align rightAlign items to the right along the x-axis
Distribute horizontal spacingDistribute items evenly along the x-axis
Distribute vertical spacingDistribute items evenly along the y-axis
Align topAlign items to the top along the y-axis
Align vertical centersAlign items to the center along the y-axis
Align bottomAlign items to the bottom along the y-axis