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

[Feature Request] Allow exclude (and include) for tagged relationships too #593

Open
ghazi94 opened this issue Feb 24, 2024 · 0 comments
Open
Assignees
Labels
wanted New feature or request

Comments

@ghazi94
Copy link

ghazi94 commented Feb 24, 2024

Currently, the exclude (or include) keyword for tags are only supported for kind element. For example,

exclude element.tag == #my_tag

It would be very useful to exclude certain relationships (graph edges) in views by referencing their tags. Something like:

exclude relationship.tag == #my_tag

If relationships could be assigned to variables, the same functionality could be achieved (instead of using tags). For example:

model {
    rel1 = a -> b 'some relationship 1'
}
exlcude rel1
@davydkov davydkov added the wanted New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wanted New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants