Skip to content

Entity-Relationship (Chen) notation as a render flavor for class diagrams #751

Description

@FelixTJDietrich

Background

The BESSER team's fork added a feature worth considering for Apollon: rendering a class diagram in Entity-Relationship (Chen) style without it being a separate diagram type. The same class model is simply drawn differently. UML multiplicities are shown as Chen cardinalities and association markers become a named diamond, while inheritance and dependency keep their UML rendering.

Proposal

Offer an ER rendering mode for class diagrams as a view option (naturally the same mechanism as #749). There is no second metamodel and no model conversion. It is purely how the existing class model is drawn.

Why this is interesting

  • ER is often taught alongside UML, and Apollon is used for teaching, so there is a plausible classroom use.
  • It is a clear demonstration that the model and its rendering are separate concerns.

Status

Nice to have rather than necessary. Worth doing only if there is real teaching demand, and best sequenced after #748 and #749. Filing it so the idea is not lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:libraryThe @tumaet/apollon editor librarypriority:lowNice to have, no urgency

    Fields

    No fields configured for Feature.

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions