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

Macro for default compositions #56

Open
lukem12345 opened this issue Jun 26, 2024 · 0 comments
Open

Macro for default compositions #56

lukem12345 opened this issue Jun 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lukem12345
Copy link
Member

PR #52 added support for default composition diagrams, in which variables sharing the same name are to be composed.

Currently, the names for the boxes in the returned RelationDiagram are explicitly given as a Vector{Symbol}.

However, we can make the user experience a little nicer by also providing a macro that uses the name of the Decapode object as the name to be used in the box.

So, we should support a macro that does such. Further, we could define a method for default_composition_diagram which just accepts a Vector of models, and uses default names Component1 etc. or Model1 etc.

@lukem12345 lukem12345 added the enhancement New feature or request label Jun 26, 2024
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

1 participant