# Primary & Secondary Connectors

The xViz Gantt Chart can display both primary and secondary connectors.

### **Steps to Configure Connectors:**

![Configuring Connectors](https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FSYW205koC5QW3Hwi2aEL%2F1.gif?alt=media)

1. Data components required to plot Connectors in the Gantt Chart: **Connect To, Connector Type**

![Image 1: Data structure for connectors](https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FZweFsJkQpB7tzVqHzHgE%2F2.png?alt=media)

2. The visual offers two sets of data fields to accept the connector’s data: **Primary Connector** and **Secondary Connector**

![Image 2: Data fields for secondary connectors&#x20;
along with primary connectors](https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FK1R0XigoEmmeb4znop8g%2F3.png?alt=media)

{% hint style="info" %}

* **"Connect To"** - specifies the task that the current task must be connected to represent the dependency between the two tasks.
* **"Connector Type" -** specifies the direction of the dependency between the tasks.
  {% endhint %}

#### **Primary Connectors**

![Image 3: The output of connectors in the xViz Gantt Chart](https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2Ff8ND3B1nGJCwh047QFKz%2F4.png?alt=media)

#### Secondary Connectors

1. The secondary connector fields are used to visualize multiple connectors. Two additional columns have been added to create multiple connectors in the dataset, as shown in the image below:

<figure><img src="https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FWHsKVc00gDjtnToG4baO%2F9cfl5bde.png?alt=media&#x26;token=94cba3e9-315a-4b56-b1a9-7ad249999204" alt=""><figcaption><p><em>Image 4: Secondary connectors column</em></p></figcaption></figure>

2. Resultant view with secondary connectors

![Image 5: Resultant view with secondary connectors](https://382510089-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIuuIZWiXEx25eV75hmmJ%2Fuploads%2FmLSo0UKhUHUKg8HGQq04%2F5.png?alt=media)

{% hint style="success" %}
Need more connectors? We have a solution! You can add even more connectors by entering comma-separated task IDs in the ‘Connect To’ field, allowing you to create multiple connectors from a single task - [Multiple Connectors](https://docs.xviz.com/project-management/connectors/multiple-connectors)
{% endhint %}
