Network chart extension

The network chart (network chart) lets you draw a network of connected nodes and edges from a data set to a sheet. A network chart shows how information flows, how components interact, and where components exist in the network. The network chart is included in the Visualization bundle.

A network chart can provide a broad overview or be very detailed. Nodes represent system components, and edges show the movement of information from one component to another. Network nodes are connected to the nodes they interact with the most. This visualization uses different styles, colors, sizes, and images to represent different levels of a network.

What it contains

You need to define three dimensions, with a fourth optional dimension:

  • Node identifier: This dimension controls which nodes are presented in the chart.
  • Node label: This dimension sets the label of each node.
  • Node parent: This dimension sets the parent of a node, and controls the relationships between nodes. It needs to contain the value of the node identifier of the parent to connect to.
  • Node group (optional): You can use this dimension to group nodes. All nodes in the same group will have the same color.

You can use up to three measures to enhance the diagram. All measures are optional, but you need to add them in the following order:

  1. Tooltip: You can set a measure value that is displayed in a tooltip when hovering over a node.
  2. Node size: You can set the size of the node according to a measure.
  3. Edge size: You can set the width of the lines between nodes according to a measure.
Note: You need to add a tooltip before you can set node size. You can set edge size after adding a tooltip and node size.

When to use it

Network chart diagrams can illustrate computer or telecommunications networks. They show the components of a network and how they interact. For example, a group of connected computers, printers, modems, hubs, and routers. This type of chart is helpful when:

  • Planning the structure of a network.
  • Coordinating updates to an existing network.
  • Reporting and troubleshooting network problems .
  • Keeping track of components.
  • Documenting detailed network documentation.

Formatting your data

A network chart requires data that is structured consistently according to a network data model where each record can have multiple parents and children. Each record needs to contain at least:

  • A field that identifies the node, the node identifier. Node identifier values must be integer values, starting from 0 and in sequential order.
  • A field with the name of the node.
  • A field that defines the parent node. This value needs to be the node identifier of another node. If this field is empty, and no other record refers to this node, a disconnected node is created.
Tip: It is also possible to use a hierarchical data model where each node has a single parent. This will create a tree-shaped chart.

Here is some example data that you can save in a text editor as Airports.csv and load in a new app. The example shows passenger flows between different airports.

  • ID is the identifier of an airport node.
  • Name is the name of an airport node. This is used as label of the node.
  • LinkTo contains the node identifier of the parent node.
  • Group states the group of a node. This can be used to color the nodes according to group.
  • Volume is the passenger flow volume between ID and LinkTo. This can be used as a measure in tooltip, .node size and edge size.
ID;Name;LinkTo;Group;Volume 0;Frankfurt;;0; 1;London;0;1;5 2;Madrid;0;1;4 2;Madrid;1;1;8 3;Warsaw;0;1;7 4;Arlanda;0;1;1 3;Warsaw;1;1;5 4;Arlanda;1;1;6 5;Tunis;0;2;8 5;Tunis;2;2;4 6;Berlin;0;1;6 6;Berlin;4;1;4 7;Rome;0;1;6 7;Rome;6;1;3 8;San Fransisco;0;3;2 9;New York;0;3;9

Creating a network chart

This example of a network chart illustrates how different airports are connected worldwide based on base data set. It uses the example data set from Formatting your data. Prepare by saving the example data set in a text file, creating a new app and loading the example data set.

Do the following:

  1. In the assets panel, open Custom objects > Visualization bundle, and drag a Network chart object to the sheet.
  2. Click the top Add dimension button and select ID as the node identifier.
  3. Click the second Add dimension button and select Name as the node label.
  4. Click the third Add dimension button and select LinkTo as the parent node.
  5. Click Data in the properties panel. Click the Add button under Node group and select Groupas the group dimension.
  6. Under Measure, click the Add button under Tooltip, and select Volume > Sum(Volume).
  7. Click the Add button under Node size, and select Volume > Sum(Volume).
  8. Click the Add button under Edge size, and select Volume > Sum(Volume).

    The chart displays:

A chart with four dimensions and three measures in a dynamic edge type, with dot nodes, and visible curve values.

A chart with four dimensions and three measures in a dynamic edge type, with dot nodes, and visible curve values.

Changing the appearance of the chart

You can customize your chart with one or more features.

Configuring edge type

You can configure the shape of the curve between chart nodes under Settings > Edge Type in the properties panel. Select the shape option of the chart curves from the menu.


A chart with dynamic edge type (curves).

A chart with dynamic edge type (curves).

The same chart with curved CW edges.
The same chart with curved CW edges.

Toggling edge value

The edge value represents value of the curves between chart nodes and their width. This option hides the numerical value of each curve. To hide the value move the slide button under Settings > Display edge value in the properties panel to the left to turn the option off.

Configuring edge label

The edge label value is the numerical value of each chart curve. You can change the position of these or hide the labels.

  • Hide edge label value: This option hides the edge label of the network chart. Toggle the slide button under Settings > Display edge value in the properties panel.

  • Edge label position: This option decides where on each chart curve the edge value displays, for example: above or below. Select applicable option from the menu.

Configuring node shape

You can customize the shape of the nodes, for example: dot, square, diamond, or triangle. Go to Settings > Node shape in the properties panel, and select the node shape from the menu.

Toggling shadow option

This option lets you turn off the shadow effects behind chart curves and nodes (used to highlight background). Toggle the slide button under Settings > Display shadow in the properties panel.


Sorting is set to Auto with the system choosing the sorting order as the default (under Sorting > chosen dimension or measure in the properties panel) for all dimensions and measures. You can change them individually by expression.

Do the following:

  1. Open the dimension or measure menu under Sorting in the properties panel.
  2. Move Sorting slide button to the left to turn the option from Auto to Custom.
  3. Click the Sort by expression check box.
  4. Enter an order string under Expression and press Enter. You can also change the color using an expression in the Expression editor (Expression).
  5. Choose start order by selecting Ascending or Descending for the menu below.

Number formatting

It is possible to format the measure value. Different formatting can be applied to the same value, for example: money, data,or duration. The chart updates to reflect the changed number type.

Do the following:

  1. Click Data > Measures in the properties panel and click chosen measure.
  2. Select applicable number formatting form the Number formatting menu.
  3. Enter details in the panel fields. These display when choosing an option other than Auto when to configuring the chart.


For information about general limitations, see Limitations of extension bundles supplied by Qlik.