Skip to content
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

Graphical debugging of mutations #77

Open
lhstrh opened this issue Jan 14, 2022 · 1 comment
Open

Graphical debugging of mutations #77

lhstrh opened this issue Jan 14, 2022 · 1 comment
Assignees

Comments

@lhstrh
Copy link
Member

lhstrh commented Jan 14, 2022

The runtime already creates a DOT representation of the dependency graph at the start of the program. First of all, we should introduce a CLI option to disable this feature, since it is really just meant as a debugging feature.

That said, with mutations, the graph will change at runtime, so it would be great to track these changes graphically for debugging purposes. We could do this by running a web server that serves a page that displays the diagrams as they change. Lucky for us, there already exists an npm module capable of doing this: https://www.npmjs.com/package/d3-graphviz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants