Is there any way to generate an entity relationship diagram?
bobspryn opened this issue · 3 comments
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.
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.
@bobspryn do you have an example of Swift classes that express such additional relationships?
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 :)