Entity Relationship Diagrams (ERDs)

According to the online Wikipedia:

An entity-relationship model (ERM) is an abstract and conceptual representation of data. Entity-relationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion. Diagrams created by this process are called Entity-Relationship Diagrams, ER Diagrams, or ERDs.

Entity Relationship Diagrams in Enterprise Architect

Entity Relationship Diagrams in Enterprise Architect are based on Chen's ERD building blocks: entities are represented as rectangles, attributes are represented as ellipses and relationships are represented as diamond-shape connectors.

ERD technology in Enterprise Architect assists you in every stage from building conceptual data models to generating Data Definition Language (DDL) for the target DBMS.




See also

MDG Technology for ERD and ERD Transformations

Enterprise Architect enables you to develop Entity Relationship diagrams quickly and simply, through use of an MDG Technology integrated with the Enterprise Architect installer.

The Entity Relationship diagram facilities are provided in the form of:

·An Entity Relationship diagram type, accessed through the New Diagram dialog
·An Entity Relationship Diagram page in the Toolbox
·Entity Relationship element and relationship entries in the Toolbox Shortcut Menu and Quick Linker

Enterprise Architect also provides transformation templates to transform Entity Relationship Diagrams into Data Modeling Diagrams, and vice versa.


New Diagram Dialog

Toolbox Shortcut

Quick Linker

ERD to Data Model Transformation

Data Model to ERD Transformation

Entity Relationship Diagram Toolbox Page



You can access the Entity Relationship Diagram page of the Toolbox through the More tools | Entity Relationship Diagrams  option.

·Entity is an object or concept that is uniquely identifiable; the property of Multiplicity in the SourceRole and TargetRole definitions for the Relationship connector (below) can be used to define the cardinality of an Entity that participates in this relationship
·Attribute is a property of an entity or a relationship type
·N-ary Association represents unary (many-to-many recursive) or ternary relationships and can also be used to represent relationships that have attributes among the entities; the N-ary Association element should always be at the target end of a connector
·Connector is a connector between an Entity and an Attribute, and between two Attributes
·Relationship is a diamond-shape connector, representing the meaningful association among entities
·Disjoint and Overlapping represent the relationships between the super-class Entity and the sub-class Entity


A typical Entity Relationship diagram

Entity Relationship Diagram



Disable Entity Relationship Diagrams

If you prefer not to use Entity Relationship Diagrams in Enterprise Architect, you can disable it (and subsequently re-enable it) using the MDG Technologies dialog (Extensions | MDG Technologies.).


MDG Technologies

Tagged Values

Some of the Entity Relationship diagram components can be modified by Tagged Values, as indicated below:


Tagged Value




If true, this entity is a weak entity.




Four options:

·normal Attribute
·primary key attribute
·multi-valued Attribute
·derived Attribute


Defines the common data type for each attribute.



Defines the customized DBMS data type for each attribute.

You must define the customized type first through the Project | Settings | Database Datatypes menu option.

Also, set the commonDataType tag to na to activate the dbmsDataType tag.


N-ary Association


If true, the N-ary Association represents the many-to-many recursive relationship.

For one-to-many and one-to-one recursive relationships, we suggest using the normal Relationship connector.

Sometimes you might want to limit the stretch of the diamond-shape Relationship connectors; simply pick a Relationship connector, right-click to display the context menu, and  select the Bend Line at Cursor option.




If true, the Relationship is a weak relationship.





Two options: partial and total.


·Entity Relationship Diagrams are supported in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect