In Astah Professional, you can convert ER diagrams to UML Class diagrams.

Convert ERD to UML

section divider

Convert ER diagram to Class diagram

  1. Select [Convert to Class Diagram] from ER Diagram’s pop-up menu in the structure tree.
    Convert ER Diagram to Class Diagram

  2. The diagram and all the model elements inside will be converted to a Class diagram and appears in the tree view.
    Converted UML Classes in the tree view
section divider

Convert ER models to UML models

In Astah Professional, instead of converting ER diagram to Class diagram one by one, you can convert multiple-diagrams and models all at once.

  1. Go to [Tools] – [ER Diagrams] – [Convert ER Model to UML Model].
    ERD to UML Convert Menu
  2. Select which ER models you want to convert then click [Create].
    Confirm to convert ERD to UML
  3. Selected models would be added in the tree view. To open the converted diagram, click [Open Diagram] menu in the tree view.
    Open ER Diagram
section divider

Convert Rule

Convert ER Entity to UML Class

All the ERD data type would be converted as below. Other data types will be shown as String on the diagram. However, the original data type information will be imported as “tagged value”. (Read More)

ER Data Type
Convert to
char or String (It will convert to char if its Length/Precision is none or 1.)
section divider

Data Type

When you convert ERD to UML, ER Entity’s data type will be exported as “Tagged Value” of Attributes in UML.

For example, there is an ER entity as below:
ER table

When you convert this ER Entity, you will get a UML class like below:
UML Class

As you can see, VARCHAR (20) will be converted to String. However, the original data types are imported as “taggedvalue”. So when you open [TaggedValue] tab, you can see its original data type information.

If you convert ERD to UML, then convert it back to ERD again, you can run this script using [Script Editor] to restore the original data type in the final ERD.