# 添加节点和链接（边）

节点和链接（也称为 “边缘”）是水系统模型的基本组成部分。节点代表系统中的特定元素，例如水库、集水区和需求，每个元素都有独特的属性，这些特性被称为属性。例如，一个属性是 “max\ \_flow”，这是通过节点的最大流量。

这些属性可以是不同的类型（例如每月配置文件），它们决定了特定节点的行为。

边代表节点之间水流经的连接或路径，代表河流、管道或河道。节点和边缘共同构成了网络的结构，定义了水在系统中的流动。

下面的视频可以帮助您按照以下步骤操作。

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

1。点击您在第一步 “我的新网络” 中创建的网络

![](/files/zQDVm7bLRkaAqOWJCmN0)

这会打开网络。如果您在创建网络时选择显示地图，则将显示地图。

![](/files/spEeXHpI91chWZJ0KGLK)

1。缩放至地图上您想要建立网络的位置。我们将放大到苏丹的尼罗河。接下来点击 **构建** 以红色勾勒的图标，用于查看显示可用节点列表的节点选项板。 2。拖放要使用的节点。在这种情况下，我们将使用：

* 1 **集水区**-代表流入系统的水

![](/files/mAvmRzCvSzbCDsSUAyYB)

* 1 **链接**-连接节点

![](/files/gtrHOWs0S2cpJAjakaJl)

* 2 **输出**节点-这些节点将水从系统中排出。一个将是需求节点，另一个将是河流出口或 “汇点”。

![](/files/jRtT0TynuO9a9M7b08hG)

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

1。要连接节点，请单击 **边缘** 启用链接模式。单击起始节点（集水区），然后单击结束节点（链接）。节点必须从上游节点启动并在下游节点结束。

**请注意：** 创建连接后，再次单击 **边缘** 再次禁用链接模式。

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


---

# Agent Instructions: 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:

```
GET https://water-strategy.gitbook.io/waterstrategy/zhong-guo-ren/jiao-cheng/creating-and-running-a-simple-model/creating-and-running-a-model/adding-nodes-and-links-edges.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
