# Setting Layout Annotation to be behind the data

**URL:** <https://community.plotly.com/t/setting-layout-annotation-to-be-behind-the-data/51972>\
**Category:** 📊 Plotly Python\
**Created:** [April 13, 2021, 2:57pm UTC](https://community.plotly.com/t/setting-layout-annotation-to-be-behind-the-data/51972 "2021-04-13T14:57:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eng2019](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@Eng2019](https://community.plotly.com/u/Eng2019)\
**Post date:** [April 13, 2021, 2:57pm UTC](https://community.plotly.com/t/setting-layout-annotation-to-be-behind-the-data/51972/1 "2021-04-13T14:57:19Z")

</div>

Hi all,  
I’m trying to plot a large directed graph. I’m using layout annotation to create the edges with arrows. But there are a lot of edges and those annotations are sitting in the front, hence, they hide the nodes. Is there any way to send them to the back? Is there also a way to visualize the edge weights (probably using opacity, but I read opacity only accepts a single number)? Thanks

 ![plotly.PNG](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/f/f579a81d0bdb6d917ec1d33b23b9ee3e7aad53fc.jpeg)
