devtools icon indicating copy to clipboard operation
devtools copied to clipboard

feat: component graph node name toogle

Open sev-b opened this issue 1 year ago â€ĸ 1 comments

🆒 Your use case

Currently the names of all nodes in the component graph view are just the file names image whereas in the list view both the actual component name and relative file path are clear image

especially when using index.vue files with nested routes this makes the graph view very confusing in bigger projects

🆕 The solution you'd like

I think the best solution would be a way to toggle whether the graph nodes should reflect the component names or the file names.

🔍 Alternatives you've considered

No response

â„šī¸ Additional info

No response

sev-b avatar Jul 12 '24 09:07 sev-b

PR welcome to introduction of the toggle! The reason I did that initially was manually because showing the full path would make the graph very verbose.

antfu avatar Sep 23 '24 17:09 antfu

I have created a PR to enhance this feature. Please review my PR: #797.

runyasak avatar Feb 26 '25 18:02 runyasak