Links

Other than the parent-child connectors, we can add additional Links i.e., additional connectors for the nodes.

To plot the Links, we need the following information:

1. Destination node – Id of the destination node

And optional styling details:

2. Arrow direction – Acceptable values are ‘Start’, ‘End’ and ‘Both’

3. Style of the line – Acceptable values are ‘Solid’, ‘Dashed’ or ‘Dotted’

4. Color of the line – Hex color codes are accepted

Example:

Links can be plotted using any of these methods:

1. Data-driven Links

Provide the data for the links from the data source.

Add the columns in the ‘Fields’ data field and use ‘Map Fields’ to map the columns:

The links are now plotted in the visual:

2. Custom Links

We can draw the connectors within the visual canvas using one of the two mechanisms:

1. By selecting the source and destination nodes on the canvas:

On the top ribbon -> Links section menu -> Select ‘Add Link’

The visual will prompt you to click on the source and then destination nodes. Upon selection, the custom link will be plotted.

2. By selecting the source and destination nodes using Node Selector: On the top ribbon -> Links section menu -> Select ‘Manage Links’

In the ‘Manage Custom Links’ menu, click on ‘Add New’:

Click on ‘Select Node’ for Source and then Destination. A Node Selector will open where we can search for the required node and select it:

We can adjust the formatting for individual links using the ‘Manage Links’ or by clicking on any Link and using the floating menu:

For every kind of link (based on the line style and color), a representation will be added to the Legend. The label for each representation can be set using the ‘Edit’ icon next to the Legend:

Last updated