# Decorate edges with counts

**URL:** https://community.hex-rays.com/t/decorate-edges-with-counts/95
**Category:** C++ SDK & IDAPython
**Created:** [January 25, 2025, 9:48pm UTC](https://community.hex-rays.com/t/decorate-edges-with-counts/95 "2025-01-25T21:48:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![qiqi](https://avatars.discourse-cdn.com/v4/letter/q/e68b1a/32.png) [@qiqi](https://community.hex-rays.com/u/qiqi)
#### Post date: [January 25, 2025, 9:48pm UTC](https://community.hex-rays.com/t/decorate-edges-with-counts/95/1 "2025-01-25T21:48:43Z")

</div>

Is there a way to count the number of times an edge has been traversed in the graph view drawn from traces and display this info beside the edge.

I know it is possible to show the number of times a particular block has been executed. However, it’ll be quite useful to show what’s described above, just to see what the program has been up to most of the time.

---

<div class="post-metadata">

### Author: ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)
#### Post date: [January 27, 2025, 10:26am UTC](https://community.hex-rays.com/t/decorate-edges-with-counts/95/2 "2025-01-27T10:26:21Z")

</div>

Alas, currently it is not possible to add custom labels to the graph’s edges.
