Trio-vis: Visualize Structured Concurrency in Trio

I’m working on a project that visualizes the run history of scopes in Trio.
It’s simply a Trio’s Instrument that could be registered during Trio.run.
Here’s an example of my visualize result:

The project is here: GitHub - ianchen-tw/trio-vis: Visualizing the scope history of your Trio project
You could also download it from pypi: trio-vis · PyPI

If you’re interested, please help to give me some feedback.
Feedbacks for the following types would be very welcome:

  1. Could the monitor successfully capture the execution trace of your program? If not, please help me to improve by giving an example that doesn’t work.
  2. What would you like to see in the visualizer interface?
  3. Everything else

Thanks

3 Likes

Minor update: The visualization results are now easier to understand