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

Improve the visual representation of the data model #1483

Open
3 tasks
stefjoosten opened this issue May 13, 2024 · 1 comment
Open
3 tasks

Improve the visual representation of the data model #1483

stefjoosten opened this issue May 13, 2024 · 1 comment

Comments

@stefjoosten
Copy link
Contributor

stefjoosten commented May 13, 2024

The data model generated by Ampersand can be improved on several counts:

  • As a programmer, I'd like a command ampersand datamodel to shortcut the command ampersand documentation --format docx --no-text and to avoid generating way too many unneccessary diagrams.
  • The small boxes that are not an entity should be treated as entities when drawing the data model, so that they are drawn within the boundary of the pattern in which their ConceptDef resides.
  • Aliasing is currently drawn erroneously. Suppose CLASSIFY A IS B must be drawn such that both A and B are visible, but are clearly aliases of one-another. (Look at the definition of A_Concept in AbstractSyntaxTree.hs.)
@hanjoosten hanjoosten changed the title Improve the data model Improve the visual representation of the data model May 13, 2024
@hanjoosten
Copy link
Member

hanjoosten commented May 13, 2024

Example of the "small boxes" that are drawn outside the pattern boundary. This is ugly so that makes point two (above) more plausible.
image

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

No branches or pull requests

2 participants