chengluyu / vega-inspector

Help you digest the Vega output in a dead simple way.
https://vega-inspector.now.sh
MIT License
13 stars 1 forks source link

Add to VL ecosystem page #4

Open domoritz opened 4 years ago

domoritz commented 4 years ago

This project looks really useful. When you are ready, please send a pull request to add it to https://vega.github.io/vega-lite/ecosystem.html.

chengluyu commented 4 years ago

Thanks for attention! We still have many items on our to-do list (I’m transfer them to GitHub projects). I will send a PR when it’s ready.

🙋‍♂️ By the way, if you have any comments or suggestions, feel free to open new issues.

domoritz commented 4 years ago

Sounds good. One high level question I have is what features you think could be added to the Vega editor.

chengluyu commented 4 years ago

@domoritz Yue and I had a discussion. We think that to show complete data flow graphs is not so helpful at all because they are usually complicated (dozens of nodes and convoluted edges). Also, for people who just want to make things work, data flow graphs are unnecessary. Showing a simplified data flow graph is better. But how to make the data flow graph readable and meaningful is still worth pondering.

Besides, to show scene graphs is a good idea: we could add a panel exhibiting the scene graph tree and users could read a node’s attributes by selecting it (just like the ”Elements” tab in browser devtools). I think this is quite useful in debug, for example, if I want to know some attributes of a mark is successfully bound or the related signal is correctly evaluated.

domoritz commented 4 years ago

I agree with both of these points.

Another idea I have is some way (e.g. a button in the editor UI) to load a chart in the inspector when necessary.

chengluyu commented 4 years ago

This is a good idea. So I think we can:

How do you think?

Now I’m working on the scene graph viewer. It‘ll be released soon.

domoritz commented 4 years ago

Sounds like a plan.