I created a class model, with associations including multiplicities. I then generated the ERD from this model, and instead of it copying the multiplicities, it made all the associations many to many – any suggestions on how I could make that work?
This is a question we’ve received from our customer:
Well, we’re sorry that this rule is not clear when generating ER Diagram from existing Class Diagram from [Tools] – [ER Diagram] – [Convert UML Models to ER Models] menu. Here’s the current mapping rule how Astah converts UML relationships to Identifying Relationship and Non-Identifying Relationship based on multiplicities -> the key is to add stereotypes to relationships.
Compositions are always converted to Identifying relationship
Relationships with “Identifying” stereotype with one-to-many relation specified by multiplicities are converted to Identifying relationship
Relationships with Non-Identifying stereotype with one-to-many relation specified by multiplicities are converted to Non-Identifying relationship
One thought on “How Astah converts relationships in UML Class relationships to ones in ERD”
Hi, Thank for sharing this blog, its excellent