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

[Feature Request] Improve callback graph #1176

Open
10 tasks
jjaraalm opened this issue Apr 3, 2020 · 0 comments
Open
10 tasks

[Feature Request] Improve callback graph #1176

jjaraalm opened this issue Apr 3, 2020 · 0 comments

Comments

@jjaraalm
Copy link
Contributor

jjaraalm commented Apr 3, 2020

Right now the callback graph is somewhat useful for identifying logical flow issues, but I think it could be greatly improved if it could be dynamic rather than static.

Possible improvements

  • Zoom in/out functionality for large/complex callback chains
  • Callback graph accessible from a dedicated url (maybe this already exists?) in addition to an overlay so that you can do test interactions while examining the callback graph
  • Distinguish between clientside and serverside callbacks using different node colors.
  • Report profiling information
    • Number of times a callback was invoked per node
    • Time spent (total or average) in the callback. Maybe link to the node color?
    • Label each edge with the number of times that input triggered a callback
  • Live debugging
    • Highlight currently executing callbacks and modified outputs
    • Probe the last input/output by hovering/focusing an edge

For live debugging, I'm thinking something similar to the Labview execution highlighting if you've ever used it. When you turn on debugging mode, callbacks intentionally get a delay injected into them to slow everything down so you can visually watch and inspect the logical flow. Like this:

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

1 participant