Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to generate an entity relationship diagram? #38

Open
bobspryn opened this issue Dec 29, 2022 · 3 comments
Open

Is there any way to generate an entity relationship diagram? #38

bobspryn opened this issue Dec 29, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@bobspryn
Copy link

Thanks for your efforts, this is a great tool.

I'm curious if there's any way to incorporate generating an entity relationship diagram. That would really open up some visual information.

@MarcoEidinger
Copy link
Owner

Hi and thanks for your interest in SwiftPlantUML!

First I will aim for composition/aggregation relationships. See #37 (comment) for how you could add such information manually.

Once done then ERD specific could be considered, such as

  • Additional relations for the Information Engineering notation.
    • Zero or One
    • Exactly One
    • Zero or Many
    • One or Many
  • An entity alias that maps to the class diagram class.
  • An additional visibility modifier * to identify mandatory attributes.

Do you have an example of Swift classes that express such additional relationships? Because I am unclear on how to determine if there is a "Zero or One", "Exactly One", ... relationship just from Swift code.

@MarcoEidinger MarcoEidinger added the enhancement New feature or request label Dec 30, 2022
@MarcoEidinger
Copy link
Owner

@bobspryn do you have an example of Swift classes that express such additional relationships?

@edon2005
Copy link

edon2005 commented Oct 30, 2023

I also came to idea that it would be useful to have entity relationship diagram. because class diagram dont show full picture.

p.s. but your solution is the best at this moment and useful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants