# Network graphs

### Chart Setup

#### **To build a network graph that shows inflows and outflows:**

1. **Axis**

* Drag the dimension to plot the nodes (e.g., Warehouse, Delivery Location).

2. **Values parameter**

* Drag one measure  (e.g., Total Cost).

3. **Chart type**

* Select Hierarchy > Network graph

> Leverage Network Graphs to easily identify in-flows and out-flows and uncover relationships in large hierarchical datasets.  They can be applied in logistics for mapping relationships between vendors, warehouses, and delivery points. The arrows directed outwards from the central node('Dallas') represent the outflows from the warehouse to the delivery locations. Similarly, the arrows directed inwards towards the cental node represent the inflows to the warehouse.

<figure><img src="/files/AgbqO1AIiWsLfPK0z7SA" alt=""><figcaption><p>Network graph showing inflows and outflows</p></figcaption></figure>

#### **To build a network graph to visualize hierarchical data**

1. **Axis**

* Drag the dimensions to plot the nodes in the hierarchy(e.g., Organization, Department, Team).

2. **Values parameter**

* Drag one measure  (e.g., Salary).

3. **Chart type**

* Select Hierarchy > Network graph

> &#x20;Network Graphs are ideal for visualizing relationships between entities in organizational structures. The departments in an organization and the individual teams mapped to each department can be represented by connecting the nodes to form a tree-like structure.

<figure><img src="/files/yMOHrm9EPqqfCLyNbMbM" alt=""><figcaption><p>Network graph showing organizational structures</p></figcaption></figure>

{% hint style="success" %}
Expand and collapse hierarchical network graphs by right-clicking the parent node.
{% endhint %}

<figure><img src="/files/HOHNhOWlGYgLgbfagfJq" alt=""><figcaption><p>Expanding and collapsing hierarchies</p></figcaption></figure>

### **Customization & Formatting under Canvas Settings** <a href="#customization-and-formatting-under-canvas-settings" id="customization-and-formatting-under-canvas-settings"></a>

Use canvas settings to control the look and behavior of your chart. You can customize network graphs from the **Network** tab.

#### 1. Marker size

Set the size for the smallest and largest markers in the graph.

<figure><img src="/files/SVcOQnNvLzPdnKwMbzYT" alt=""><figcaption><p>Marker size</p></figcaption></figure>

#### 2. Source and target mode

When you depict inflows and outflows, enable the toggle to show both inflows and outflows from a single central node. This option will be enabled only when you have two axis dimensions.

In this case, 'Dallas' is the central node.

<figure><img src="/files/UndGXKuixXuWlyUQdSJ0" alt=""><figcaption><p>Source and target mode</p></figcaption></figure>

When the toggle is disabled, inflows will be shown from one node and outflows will be rendered from another.

Notice how there are 2 separate nodes for 'Dallas' to depict inflows and outflows.

<figure><img src="/files/xAkKVJL3b44VcBs35i1V" alt=""><figcaption><p>Source and target mode disabled</p></figcaption></figure>

#### 3. Layout

Select the layout based on the type of data you are visualizing with the network graph.

<div><figure><img src="/files/JGVYyig4XuveDPUa104Q" alt=""><figcaption><p>Force layout</p></figcaption></figure> <figure><img src="/files/qrVkCZngaGRFmFGVYIBU" alt=""><figcaption><p>Hierarchical layout</p></figcaption></figure> <figure><img src="/files/EFskZM9dhTpgN51jd2Ph" alt=""><figcaption><p>Circular layout</p></figcaption></figure></div>

<div><figure><img src="/files/x4qX8DVI27M0hvAF1108" alt=""><figcaption><p>Concentric layout</p></figcaption></figure> <figure><img src="/files/5jS3CIMz918jZiW07o0z" alt=""><figcaption><p>Grid layout</p></figcaption></figure> <figure><img src="/files/nNZ2Z8vGpCLPHm9nXn2q" alt=""><figcaption><p>Fruchterman Reingold layout</p></figcaption></figure></div>

#### 4. Marker outline

Render an outline for each node. Choose to display an outline only for parent nodes or for all nodes.

<div><figure><img src="/files/FnGg4PeEHdjqdpRFHYej" alt=""><figcaption><p>Marker outline - all nodes</p></figcaption></figure> <figure><img src="/files/TK7m2fL2afLVTmXFbXsO" alt=""><figcaption><p>Marker outline - parent node</p></figcaption></figure></div>

* **Format**

Select the color and width of the outline.

<figure><img src="/files/EbP3GOsjHWxsbjPjHVAD" alt=""><figcaption><p>Outline customization</p></figcaption></figure>

* **Show outline on**

Render the node outline permanently or only when hovering over a particular node.

On hover:

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

On display:

<figure><img src="/files/kGsSrWCRTDSyV5L9TlI1" alt=""><figcaption><p>Node outlines are always displayed</p></figcaption></figure>

#### 5. Node format

Customize the appearance of the nodes based on the level or set a uniform design.

* **By level:** Set the shape and color for the nodes based on their level, making it easier to identify the level to which a node belongs.

<figure><img src="/files/ZEbNulkYbz7ckOIDusQ3" alt=""><figcaption><p>Customize the shape and color of nodes</p></figcaption></figure>

* **All nodes:** Assign a uniform shape for all nodes, irrespective of the level.

<figure><img src="/files/7wecWaTZLckQbtWaC9Au" alt=""><figcaption><p>Set a uniform shape for the entire graph</p></figcaption></figure>

* **Color mode:** This option is enabled when Node format is set to 'All nodes'. Choose a single color across the graph with the 'Fixed' option or set the color based on the node level with the 'Dynamic' option. If you have chosen the fixed option, you can also choose solid, outlined, or hatched fill patterns.

<div><figure><img src="/files/gcQiRzG1eOBMBTA5Z6eD" alt=""><figcaption><p>Fixed color mode</p></figcaption></figure> <figure><img src="/files/eLuZrNRZPHVsqk7j5Mjk" alt=""><figcaption><p>Dynamic color mode</p></figcaption></figure></div>

#### 6. Link

Customize the links connecting the nodes. Choose the 'Dynamic' option to render links according to the levels being connected. Choose the 'Default' option for uniform links to all nodes.

<div><figure><img src="/files/0b3snkxVR6RzOrSDnSkb" alt=""><figcaption><p>Dynamic links</p></figcaption></figure> <figure><img src="/files/fVC6kpz8rAOudxj9tDKD" alt=""><figcaption><p>Default links</p></figcaption></figure></div>

* **Format:** Use solid, dotted, or dashed lines to connect nodes. You can also set the thickness of the connector lines.

<figure><img src="/files/GuEAdLT6KtY65kM3vBZ9" alt=""><figcaption><p>Format for connector lines between nodes</p></figcaption></figure>

* **Style:** Choose between normal, smooth curves, and S-shaped curves to render links.

<div><figure><img src="/files/kfR2hf0XuX1zGeUeHLSU" alt=""><figcaption><p>Smooth curve</p></figcaption></figure> <figure><img src="/files/RQuXIBwbcGmu5Zzwlbsy" alt=""><figcaption><p>S-shaped curve</p></figcaption></figure></div>

* **Color:** Choose between a single color, a gradient color scheme, or set the color based on the source or target.

<div><figure><img src="/files/5GAYysAlb3xHLwHBKi5w" alt=""><figcaption><p>Gradient color scheme</p></figcaption></figure> <figure><img src="/files/yh6FW4tMMx9si3pIdB2r" alt=""><figcaption><p>By source</p></figcaption></figure> <figure><img src="/files/48F7C0xrvu4NLYk6rzHg" alt=""><figcaption><p>By target</p></figcaption></figure></div>

#### 7. Directional arrow

Enable this toggle to render arrows that show the source and target in the case of inflows and outflows or the parent-child relationship for hierarchies.

* **Show: T**o render arrows only while hovering over a link, select the 'On hover' radio button. To permanently display arrows, choose 'On display'.
* **Format:** Set the thickness and color of the arrows.

<figure><img src="/files/cLKB1NXGxsq62hShJbYw" alt=""><figcaption><p>Render arrows to show the direction of the link</p></figcaption></figure>

### Legend settings for network graphs

To enable the legend, set the color mode to 'Dynamic' from the Network tab. After that, turn on the **Show legend** toggle from the Legend tab.

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

## Additional Formatting Options

Here are the other settings that help you refine your Radar/Polar chart.

<table><thead><tr><th width="143.5">Feature</th><th>Description</th><th data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Number</td><td>Configure number formatting (decimals, units)</td><td><a href="/pages/5luh7CNmlb8gDCUt1Cdo">/pages/5luh7CNmlb8gDCUt1Cdo</a></td></tr><tr><td>Legend</td><td>Show/hide and customize the legends</td><td><a href="/pages/DKKnFEcoc3dq7SY8pPwT">/pages/DKKnFEcoc3dq7SY8pPwT</a></td></tr><tr><td>Data Label</td><td>Show exact values for each data point</td><td><a href="/pages/hlfbb3nncB1Juac8B2M1">/pages/hlfbb3nncB1Juac8B2M1</a></td></tr><tr><td>Trellis</td><td>Create small multiples using category split</td><td><a href="/pages/gZGiSWPH6pyEPgCUyJ7G">/pages/gZGiSWPH6pyEPgCUyJ7G</a></td></tr><tr><td>Conditional Formatting</td><td>Apply color rules to highlight values</td><td><a href="/pages/eAlYz7nnGGHBwj0vsrG2">/pages/eAlYz7nnGGHBwj0vsrG2</a></td></tr><tr><td>Sorting</td><td>Sort axis order</td><td><a href="/pages/DBrCRJn3JzquaVGXnE0Z">/pages/DBrCRJn3JzquaVGXnE0Z</a></td></tr><tr><td>Ranking</td><td>Limit to top/bottom N categories</td><td><a href="/pages/AmGsNJOt6hyWbMuwohm6">/pages/AmGsNJOt6hyWbMuwohm6</a></td></tr></tbody></table>


---

# Agent Instructions: 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:

```
GET https://docs.inforiver.com/analytics+/quick-charts/network-graphs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
