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

Include derived functions from imported modules #250

Open
nmacedo opened this issue Mar 27, 2024 · 2 comments
Open

Include derived functions from imported modules #250

nmacedo opened this issue Mar 27, 2024 · 2 comments
Assignees
Milestone

Comments

@nmacedo
Copy link
Contributor

nmacedo commented Mar 27, 2024

Functions without parameters defined in the main module show up in the visualizer. However, functions without parameters from imported modules are never included in the visualization (think of the next relation from util/ordering). This doesn't seem consistent since sigs/fields from imported modules appear in the visualization, and imported derived functions are still available in the evaluator.

@nmacedo nmacedo changed the title Include derived function from imported modules Include derived functions from imported modules Mar 27, 2024
@grayswandyr grayswandyr added this to the A6.1 milestone Apr 11, 2024
@grayswandyr
Copy link
Contributor

Very important indeed! I'll add this to the 6.1 milestone for this reason. Feel free to remove the milestone if that is too much work.

PS: IIRC, macros aren't imported either.

@nmacedo nmacedo self-assigned this May 14, 2024
nmacedo added a commit to nmacedo/org.alloytools.alloy that referenced this issue May 15, 2024
@nmacedo
Copy link
Contributor Author

nmacedo commented May 15, 2024

Here's how it would look for util/ordering. I left the names qualified to avoid confusion. Of course, these elements can be hidden/customized in the theme like any others.

Screenshot 2024-05-15 at 12 23 41

nmacedo added a commit to nmacedo/org.alloytools.alloy that referenced this issue May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants