# Legends in graphviz

**URL:** <https://forum.graphviz.org/t/legends-in-graphviz/2475>\
**Category:** Uncategorized\
**Created:** [October 6, 2024, 1:21pm UTC](https://forum.graphviz.org/t/legends-in-graphviz/2475 "2024-10-06T13:21:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![explorer](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@explorer](https://forum.graphviz.org/u/explorer)\
**Post date:** [October 6, 2024, 1:21pm UTC](https://forum.graphviz.org/t/legends-in-graphviz/2475/1 "2024-10-06T13:21:12Z")

</div>

I have a graph with nodes the are colored based on a classification.

I would like to show in the corner of the plot what each color classification.

Is that possible?

If there is a python example… what would be great…

---

<div class="post-metadata">

**Author:** ![steveroush](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Post date:** [October 6, 2024, 3:50pm UTC](https://forum.graphviz.org/t/legends-in-graphviz/2475/2 "2024-10-06T15:50:42Z")

</div>

Use the built-in search and you will find several Legend solutions
