Astah Quick Start Guide

This quick guide is to help Astah beginners to minimize the learning curve.

  1. Getting Started
  2. Basic Functions
  3. Code Generation
  4. Reverse Engineering
  5. Team Collaboration
  6. Plug-ins


Getting Started

Installing Astah Professional

Download an Astah Professional installer from the Download page. The web browser will automatically pick the installer for the Operating System you are using. Click the [Download 50-day trial] button.

Astah Download

If the installation failed

Please contact us with the information and details about the fail. If you are using Linux, please follow these instruction to resolve common issues.

Starting Astah Professional

Launch Astah by double-clicking the application icon. Astah will run for 20 days without setting a license. If you'd like, you can extend your trial period for 30 more days once the initial 20 days are over.

If Astah fails to launch, usually it is due to the Java version you are using to run Astah. Please make sure that your environment meets Astah's System Requirements.

Especially Linux users may be able to resolve by using supported version of Oracle Java by following the instruction "Java Download and Install" on "How to run Astah on Linux" page. If these steps don't resolve your issue, please contact support.


Basic Functions

This section will go through the steps of creating a project, diagrams and models.

Overview of Astah Window

Overview of Astah Window

Opening and Saving Projects

To create a project, select [File] - [New] or click the [New Project] Icon on the start screen. Directly creating new diagrams will also create a new project.

Create a New Project

Advanced Techniques

To save a project, select [File] - [Save] or [File] - [Save as]... When you are saving a project for the first time, you will be asked to specify its location.

Creating Diagrams

Let's take a Class diagram as an example, to create a Class diagram:

  1. Select [Diagram] - [Class Diagram] Create Class Diagram
  2. A blank diagram opens in the Diagram Editor

Creating Models

Let's create a Class.

  1. Click on the [Class] icon in the tool bar. Create UML Class
  2. Click directly on the diagram canvas to place a class, and enter its name

Double-clicking on the Diagram will also create a Class. You can learn more about quickly creating Class Diagrams from this short video.

Class Diagram Video

Changing Fonts

The easiest way to change fonts in Astah is from the tree.

  1. In the tree view, click on a root package.
  2. Astah Font Setting
  3. Go down to the project view (left bottom pane), select [Project Setting] tab and click the button next to [Default Font]
  4. Astah Font Setting
  5. [Font] diglog opens. Choose the style you like

Code Generation

  1. Open a project you want to generate source code from
  2. Go to [Tools] - [Java (C++, C# or PHP)] - [Export Java (C++, C# or PHP)] Astah Code Generation
  3. Specify models you want to export source code, and specify the directory

If you'd like to export to other programming languages, you can use Plug-ins.

Reverse Engineering

Reverse Engineering models from Java source code is available from [Tools] - [Java] - [Import Java]. To reverse C# or C++ projects, you will need to install Plug-ins first. The Plug-ins and instructions are on the pages below.


Team Collaboration

Merging Projects

  1. Go to [File] - [Merge Project]
  2. Merge projects
  3. Select the .asta file you want to merge
  4. A dialog appears to ask which you want to overwrite if there are any conflicts. If you want to check a list of conflicts, click the [Detail] button, then choose how to merge each conflict one by one.
  5. Astah Merge projects

Working with team members on the same design

When you are working on a diagram with a team, Astah's [Reference Model Management] is a feature to make the collaborative modeling easier and more effective.



Plug-ins

There are many free plug-ins avaibale to add extensions to Astah, check out the Astah Plug-in page.