-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add tree-like visualization #42
Comments
I think that the internalType of the nose should be a label, like in the example I pasted, unless is a mess. The idea is visualize the hierarchy, and maybe have color codes for the roles |
I removed internalType because it looked like a mess. I see 4+ children quite often in examples and internalType is long often too, like "SingleVariableDeclaration". But of course it's not final solution. We will experiment with different visualization more. It was more like a technical investigation, how to integrate library in react without breaking vdom and reuse tree state. |
Has some AST visualization example https://code2vec.com/ |
Hi,
I used dashboard a bit and found that it's still hard to understand.
When you use UAST from bblfsh as text - it's really verbose (even if you hide some attributes of nodes).
It will be really great to have tree visualization, so the structure will be easily readable + show attributes of a node by click (or just pointing by mouse, or show token always - everything else optionally, or etc.).
Ex1: https://resources.jointjs.com/demos/javascript-ast
Ex2: http://vpyast.appspot.com/
The text was updated successfully, but these errors were encountered: