> 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/drilldowntree/configuration/formatting/general-formatting-and-styling.md).

# General formatting and styling

## General&#x20;

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2F90pdbUjnRJBptivI8vF7%2FScreenshot%202026-05-11%20at%2011.56.54.png?alt=media&amp;token=36da97f5-309f-456a-a861-3be563e1160d" alt="" width="375"><figcaption></figcaption></figure>

<table><thead><tr><th width="194">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Layout mode</td><td>You can choose between a centered or top layout mode. The top layout mode positions the diagram towards the top of the window.</td></tr><tr><td>Sort field type</td><td>You can choose the sort type between value or name for either an alphabetic or numeric sort.</td></tr><tr><td>Sort on value</td><td>You can define the sort order here</td></tr><tr><td>Background</td><td>Pick a background color for the visualization canvas.</td></tr><tr><td>Hide null dimensions</td><td>Hide nodes where the selected dimension contains a <code>null</code> labels/dimension name. </td></tr><tr><td>Hide Null/NaN values</td><td>Hide nodes where the measure value is <code>null</code> or <code>NaN</code>. This prevents missing or invalid numeric values from being displayed in the tree.</td></tr></tbody></table>

## Nodes

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2FmNkRch9xV7t2vz91uHQ4%2FScreenshot%202026-05-11%20at%2011.59.26.png?alt=media&amp;token=8226661a-6dce-4646-815b-3c9494d61b07" alt="" width="375"><figcaption></figcaption></figure>

| Setting             | Description                                                                                                                          |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Positive value      | Select a color for nodes with positive values.                                                                                       |
| Negative value      | Select a color for the nodes with negative values                                                                                    |
| Backgound           | Select a color for the node backround.                                                                                               |
| Maximum depth       | Choose a value to set the maximum allowable drill-down levels. Once this limit is reached, the '+' icon will no longer be displayed. |
| Node height         | Select a value for the node height                                                                                                   |
| Max nodes per level | Select a value to control the maximum nodes per level.                                                                               |
| Node width          | Select a value to control the node width                                                                                             |
| Node spacing        | Select a value to optimize the horizontal distance between two nodes.                                                                |
| Radius in (px)      | Select a value to control the node radius. Higher value will make the nodes appear rounded.                                          |
| Truncate label      | You can trucncate long labels with this option.                                                                                      |

### Links&#x20;

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2FHilJig0ZdHlMqVGqSlGo%2Fimage.png?alt=media&amp;token=02e777fb-b903-40e4-8e8f-abff7ac5cb7c" alt=""><figcaption></figcaption></figure>

| Setting        | Description                                            |
| -------------- | ------------------------------------------------------ |
| Positive color | You can select the color for links with positive value |
| Negative color | Select a color for links with negative value           |
| Link width     | To control the thickness of the link.                  |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.infotopics.com/drilldowntree/configuration/formatting/general-formatting-and-styling.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
