> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/showmemore/features/source-target-sankey-diagram/color-formatting/color-links.md).

# Color Links

Here you can decide how you would like the links from your nodes to be colored.

<figure><img src="/files/FK69eFmn1SbETOg8SsZM" alt="" width="375"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Input – Output (Gradient)" %}
Links will display a gradient effect, starting with the color of the source node and transitioning smoothly to the color of the target node. This visual representation creates a clear and aesthetically pleasing way to track the flow from one node to another.
{% endtab %}

{% tab title="Input" %}
Links in your sankey diagram will adopt the color of the input nodes they are associated with, ensuring a visually cohesive presentation.
{% endtab %}

{% tab title="Output" %}
Links will be visually distinguished by adopting the hue of their corresponding output nodes' colors. This will ensure a clear and intuitive understanding of the connection between the links and their output nodes.
{% endtab %}

{% tab title="No Color" %}
No coloring on any link, links will be shown as grey by default. This can be changed to any color of your choice.&#x20;
{% endtab %}
{% endtabs %}

<figure><img src="/files/LBkPt9cQPC1GszO39bNP" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.infotopics.com/showmemore/features/source-target-sankey-diagram/color-formatting/color-links.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
