> 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="/files/cOBqvO7cfT6HsxiLlUQd" 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="/files/t5HVAf4N8eNZuAVB6e4n" 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="/files/fmSusKYl9IWCN300sIMW" 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 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/drilldowntree/configuration/formatting/general-formatting-and-styling.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.
