> For the complete documentation index, see [llms.txt](https://water-strategy.gitbook.io/waterstrategy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://water-strategy.gitbook.io/waterstrategy/italiano/tutorial/creating-and-running-a-simple-model/creating-and-running-a-model/adding-nodes-and-links-edges.md).

# Aggiungere nodi e collegamenti (bordi)

I nodi e i collegamenti (chiamati anche «bordi») sono componenti fondamentali del modello del sistema idrico. I nodi rappresentano elementi specifici all'interno del sistema, come bacini idrici, bacini idrografici e fabbisogni, ciascuno con proprietà uniche, denominate attributi. Ad esempio, un attributo è il 'max\ \_flow', che è il flusso massimo attraverso un nodo.

Questi attributi possono essere di diversi tipi (ad esempio profili mensili) e determinano il comportamento del nodo specifico.

I bordi rappresentano le connessioni o i percorsi attraverso i quali l'acqua scorre tra i nodi, rappresentando fiumi, condotte o canali. Insieme, nodi e bordi formano la struttura della rete, definendo il modo in cui l'acqua si muove attraverso il sistema.

Il video qui sotto può aiutarti a seguire i passaggi seguenti.

{% embed url="<https://www.youtube.com/watch?v=hoqyjNIJdKs#t=2m40s>" %}

1. Fai clic sulla rete che hai creato nel primo passaggio, «La mia nuova rete»

![](/files/7RyDmvkdnd2b2CnLScc0)

Questo apre la rete. Se hai scelto di visualizzare una mappa durante la creazione della rete, verrà visualizzata una mappa.

![](/files/b3cAusncby7JO7w7EnJ0)

1. Ingrandisci una posizione sulla mappa in cui desideri creare una rete. Ingrandiremo il fiume Nilo in Sudan. Quindi fai clic su **Costruisci** icona delineata in rosso per visualizzare la palette dei nodi che mostra l'elenco dei nodi disponibili.
2. Trascina e rilascia i nodi da utilizzare. In questo caso useremo:

* 1 **Bacino idrogeo** - che rappresenterà l'acqua che scorre nel sistema

![](/files/DN0GBjlAqGNjcfmipOyS)

* 1 **Link**: un nodo di connessione

![](/files/qSZthCdsR7N7i9hQTofW)

* 2 **Nodi di uscita**: questi nodi rimuovono l'acqua dal sistema. Uno sarà un nodo di domanda e l'altro sarà uno sbocco fluviale o «pozzo».

![](/files/ZGtdEkLqrrcg4TO2GQzQ)

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

1. Per connettere i nodi, clicca su **orlo** per abilitare la modalità link. Fai clic sul nodo iniziale (bacino) e quindi sul nodo finale (link). I nodi devono essere avviati dal nodo a monte e terminati sul nodo a valle.

**Si prega di notare:** una volta create le connessioni, clicca nuovamente su **orlo** nuovamente per disattivare la modalità link.

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


---

# 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://water-strategy.gitbook.io/waterstrategy/italiano/tutorial/creating-and-running-a-simple-model/creating-and-running-a-model/adding-nodes-and-links-edges.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.
