Before you start, learn the basic operations for creating objects and lines. There are five ways to create model elements.

1. Using a tool palette

Choose the icon you want to create from the tool palette, then click on the diagram.

2. Drag from tree

Drag a model from the tree and drop it on a diagram.

3. Using a Suggest Feature

Hover over an object and click one of the mini icons that appear. To hide the mini icons, click the object or hold down the [Shift] key.

4. Double-clicking on the diagram

Double-clicking directly on a diagram creates the following model elements.

DiagramModel
Class DiagramClass
Class DiagramInstance Specification (hold the Ctrl key while double-clicking)
UseCase DiagramUseCase
Statemachine DiagramState
Activity DiagramAction
Sequence DiagramLifeline
Communication DiagramLifeline
Component DiagramComponent
Deployment DiagramNode
Deployment DiagramNode Instance (hold the Ctrl key while double-clicking)
Composite Structure DiagramStructured Class
FlowchartProcess
Data Flow DiagramProcess Box
ER DiagramER Entity
Mind MapRoot Topic
Requirement DiagramRequirement

5. Pasting texts from Clipboard

You can create models by pasting text onto a diagram. Since version 8.5, you can also add attributes and operations to a class, and ER attributes to an ER entity, by pasting text.

section divider

Create objects in a row

There are two ways to create the same model element several times in a row.

  1. Hold down the [Shift] key: keep clicking on the diagram while holding down [Shift].
  2. Turn on [Continuous] mode: click [Continuous] on the tool palette.
    Continuous mode on the tool palette
section divider

Wrap text

You can wrap text with [Shift+Enter], [Alt+Enter] or [Ctrl+Enter]. However, text cannot be wrapped for some models.

section divider

Specify color

You can specify colors for diagram elements, including lines. There are two ways to do so:

From Toolbar

Choose a color on the toolbar before you create diagram elements. You can also change the color of existing elements.

Select [Set Color] to open the detailed color chooser.
Set Color option on the toolbar

You can switch between two palettes, [Custom] and [Swatches].

If you turn on [Apply to Created Elements], the selected color is kept, and the elements you create stay in that color until you turn it off.
Apply to Created Elements option

From [System Properties]

You can set a default color for each type of diagram element. Go to [Tools] – [System Properties] – [Default Item Color], select the colors, and click [Apply] – [OK].
Default Item Color in the System Properties

NOTE:

  • When [Apply to Created Elements] is on, it takes precedence over the default color set in [Tools] – [System Properties] – [Default Item Color].

Default Size Astah

TIPS: Set default size of model elements

You can set the default size of model elements in [Tools] – [System Properties] – [Default Item Size].

section divider

Expand and reduce space

To make space before inserting objects, or to remove unneeded space for a tidier diagram, use the [Gap Expander/Remover] tool.
Gap Expander and Gap Remover tools

Expand the space

Reduce the space