-
Notifications
You must be signed in to change notification settings - Fork 449
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
globs: "exists" filter #1567
Comments
oh this can just use globs within. this would filter for existence of link *: {
&link: *
} i think we need a "not" operator too. maybe *: {
!&link: *
} |
|
we'd just introduce a keyword for that. something like *: null {
&connected: false
} |
Seems reasonable to have |
Regarding globs for selecting all existing edges: I tried I think https://d2lang.com/tour/globs#glob-connections needs a note to clarify that the parens + brackets syntax is needed to select existing edges |
#1567 (comment) will be tracked in #2010 |
e.g. target all shapes that have links, or all connections that have labels.
not sure how it'll be represented in the syntax
The text was updated successfully, but these errors were encountered: