# Customizing the process graph legend

> If you create a Process graph that is to be used to compare two different process models or a Process graph that is to be used to verify the current process model against one or more different reference models, you can change the labels of the different colors used in the Process graph. See illustration below.

## Introduction

If you create a Process graph that is to be used to compare two different process models or a Process graph that is to be used to verify the current process model against one or more different reference models, you can change the labels of the different colors used in the Process graph. See illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-54456-c38eb6e5-5aaf2d7d.webp)

## Changing the labels of the process graph legend

For a Process graph with the color mode set to **Compare** you can change the default labels **Both**,**Process A**, and **Process B** of the Process graph legend. For a Process graph with the color mode set to **Reference** you can change the default labels **Conforming**, **Additional**, and **Missing**. Depending on the selected color model the **Advanced Process Graph Settings** dialog contains fields that enable you to customize the appropriate Process graph legend labels.

Follow these steps to change the default labels used in the Process graph.

| Step | Action |
| --- | --- |
| 1 | Click on the Process graph and go to the **Process Graph** tab. |
| 2 | Click on **ADVANCED...** in the **General** panel. |
| 3 | Go to the **Custom legend labels** section on the **Visualization** tab. |
| 4 | Click on `expression` next to the label for which you want to change the value. |
| 5 | Enter an expression to define the label in the **Edit expression** dialog, and click on **OK**. See illustration below for an example. |

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-56073-43c0ea60-cb7eb954.webp)

:::note
The **Custom legend labels** section is only visible if you have selected **Reference** or **Compare** as the **Color mode** in the **General** panel on the **Process graph** tab.
:::
