# Trio-vis: Visualize Structured Concurrency in Trio

**URL:** <https://trio.discourse.group/t/trio-vis-visualize-structured-concurrency-in-trio/394>\
**Category:** Structured concurrency\
**Created:** [July 5, 2021, 6:39am UTC](https://trio.discourse.group/t/trio-vis-visualize-structured-concurrency-in-trio/394 "2021-07-05T06:39:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianchen-tw](https://yyz2.discourse-cdn.com/free1/user_avatar/trio.discourse.group/ianchen-tw/32/290_2.png) [@ianchen-tw](https://trio.discourse.group/u/ianchen-tw)\
**Post date:** [July 5, 2021, 6:39am UTC](https://trio.discourse.group/t/trio-vis-visualize-structured-concurrency-in-trio/394/1 "2021-07-05T06:39:57Z")

</div>

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:

 ![showcase](https://global.discourse-cdn.com/free1/uploads/trio/original/1X/478e033ddbe114f9f1894446f5b867ea2d399678.png)

The project is here: [GitHub - ianchen-tw/trio-vis: Visualizing the scope history of your Trio project](https://github.com/ianchen-tw/trio-vis)  
You could also download it from pypi: [trio-vis · PyPI](https://pypi.org/project/trio-vis/)

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

---

<div class="post-metadata">

**Author:** ![ianchen-tw](https://yyz2.discourse-cdn.com/free1/user_avatar/trio.discourse.group/ianchen-tw/32/290_2.png) [@ianchen-tw](https://trio.discourse.group/u/ianchen-tw)\
**Post date:** [November 28, 2021, 6:54am UTC](https://trio.discourse.group/t/trio-vis-visualize-structured-concurrency-in-trio/394/2 "2021-11-28T06:54:11Z")

</div>

Minor update: The visualization results are now easier to understand

 ![showcase](https://global.discourse-cdn.com/free1/uploads/trio/original/1X/174480b29bae1f866d42761d8ba3e730caf4bcf5.png)
