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

Generate natural language descriptions of associations, etc. #1401

TimLethbridge opened this Issue Oct 25, 2018 · 0 comments


None yet
1 participant
Copy link

TimLethbridge commented Oct 25, 2018

Students (and developers) often have a hard time understand the true consequences of their decisions regarding associations. It is suggested that when hovering over an association in the diagram (all kinds), the text that pops up should describe it in detail. Also a generation output could be created that would describe the whole model in natural language.

For example a

class Company {1 -- 1 BoardOfDirectors;}
class BoardOfDirectors {}

Could generate

A company has a Board of Directors. It must always have exactly, one, and can never have none.
A Board of Directors must have a Company.  It must always have exactly, one, and can never have none.
There must always be an equal number of Companies and BoardsOfDirectors, connected as Pairs. 
When a Company is created is BoardOfDirectors must be created at the same time.
When a Company is deleted, its BoardOfDirectors is deleted at the same time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.