vega / editor

Editor/IDE for Vega and Vega-Lite
https://vega.github.io/editor/
BSD 3-Clause "New" or "Revised" License
163 stars 87 forks source link

Show data and signals from inner/nested group elements #1410

Closed mtravers closed 5 months ago

mtravers commented 5 months ago

Maybe I'm missing something, but it looks like the Vega Editor won't display data and signals for inner group elements. This would be very useful to me right now, I'm trying to debug a fairly complex visualization.

My suggestion is that these should be made available in the data viewer using standard dropdown, maybe using a dot notation or something (eg show them as group1.data, etc). Something similar for signals. An alternative would be to have some way of selecting a group element and have the debugger look at that, but that sounds more awkward.

Or, maybe there is some way to see this now and I am missing it, in which case the request is to make it more obvious.

mtravers commented 5 months ago

Hm, this may duplicate https://github.com/vega/editor/issues/549

domoritz commented 5 months ago

Ahh, good find. I did a quick search and didn't see that one. Yes, closing in favor of https://github.com/vega/editor/issues/549.

PBI-David commented 5 months ago

@mtravers for the time being, you can just move the signals to the top level to view/debug them and then move them back to their nested position once everything is working as required.