Visualize the Nx project Tags in the Workspace Graph #23411
zackarydev
started this conversation in
Feature Requests
Replies: 3 comments
-
I've converted this to a discussion so it's easier to discuss what people would like to see. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd find this extremely useful too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, please! We're constraining dependency by tags on 4 axes, and I have a hackish Bash line to dump these to CSV (below). Nx Graph is nice, but not practically useful to us without this info. Best would be grouping similar to directories. Hack in case someone finds it useful: npx nx show projects | while read -r i; do npx nx show project "$i" --json | jq -r '.name + "," + .root + ",\"" + (.tags | join(",")) + "\""' ; done > modules.csv |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
It's fairly hard to visualize the complex dependency constraints of tags. I'm sure many projects have tried documenting them in some fashion. If we can have a visual representation of this in the Nx graph we can automate documentation
Motivation
Documenting these tags is too time consuming. I want a quick way to visualize how they interact.
Suggested Implementation
Running
nx graph
in the top right, where we selectProject, Tasks
, we could addTags
Alternate Implementations
nx graph tags
?Beta Was this translation helpful? Give feedback.
All reactions