> For the complete documentation index, see [llms.txt](https://docs.xviz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xviz.com/project-management/connectors/primary-and-secondary-connectors.md).

# Primary & Secondary Connectors

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

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

![Configuring Connectors](/files/R3Pku9Lxoda1aVrstOZq)

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

![Image 1: Data structure for connectors](/files/RJ30Wu9F7IaFvWd37SC9)

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](/files/Tjgvf05FKVL4xSE4RFyw)

{% 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](/files/TuBJuXZbR21lZRNgl6fn)

#### 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="/files/kMemOyy2N5XzQWp0Dbsk" 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](/files/hK5xXw4z6ZqSsedFtqJV)

{% 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](/project-management/connectors/multiple-connectors.md)
{% endhint %}


---

# 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.xviz.com/project-management/connectors/primary-and-secondary-connectors.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.
