> 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/arby/albramj-altalymyh/creating-and-running-a-simple-model/creating-and-running-a-model/adding-nodes-and-links-edges.md).

# إضافة العقد والروابط (الحواف)

تعد العقد والروابط (تسمى أيضًا «الحواف») مكونات أساسية لنموذج نظام المياه. تمثل العقد عناصر محددة داخل النظام، مثل الخزانات والمستجمعات والمطالب، ولكل منها خصائص فريدة، والتي يشار إليها بالسمات. على سبيل المثال، إحدى السمات هي 'max\ \_flow 'وهو الحد الأقصى للتدفق عبر العقدة.

يمكن أن تكون هذه السمات من أنواع مختلفة (مثل الملفات الشخصية الشهرية) وهي تملي سلوك العقدة المحددة.

تمثل الحواف الوصلات أو المسارات التي يتدفق من خلالها الماء بين العقد، والتي تمثل الأنهار أو خطوط الأنابيب أو القنوات. تشكل العقد والحواف معًا بنية الشبكة، وتحدد كيفية تحرك المياه عبر النظام.

يمكن أن يساعدك الفيديو أدناه في اتباع الخطوات أدناه.

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

1. انقر على الشبكة التي أنشأتها في الخطوة الأولى، «شبكتي الجديدة»

![](/files/DtvPoAEia7baZNZrn6hZ)

يؤدي هذا إلى فتح الشبكة. إذا اخترت عرض الخريطة عند إنشاء الشبكة، فسوف تظهر الخريطة.

![](/files/E5BhNHRNT6DwawIgADgA)

1. قم بتكبير موقع على الخريطة حيث تريد إنشاء شبكة. سنقوم بتكبير نهر النيل في السودان. انقر بعد ذلك على **يبني** رمز موضح باللون الأحمر لعرض لوحة العقد التي تعرض قائمة العقد المتاحة.
2. قم بسحب وإسقاط العقد لاستخدامها. في هذه الحالة، سنستخدم:

* 1 \*\*مستجمعات المياه \*\* - والتي ستمثل تدفق المياه إلى النظام

![](/files/NSbYNxBkRpmitzw2jSCd)

* 1 **رابط** - عقدة توصيل

![](/files/hKDpuwHiTDqMwWG5V3vM)

* 2 **عقد الإخراج** - تقوم هذه العقد بإزالة الماء من النظام. ستكون إحداهما عبارة عن عقدة طلب والأخرى ستكون منفذًا للنهر أو «مغسلة».

![](/files/dbyPamr2LU3iUqt8fbpr)

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

1. لتوصيل العقد، انقر فوق **حافة** لتمكين وضع الارتباط. انقر فوق عقدة البداية (مستجمعات المياه) ثم انقر فوق عقدة النهاية (الرابط). يجب أن تبدأ العقد من العقدة الأولية وتنتهي في العقدة النهائية.

**يرجى ملاحظة ما يلي:** بمجرد إنشاء الاتصالات، انقر مرة أخرى على **حافة** مرة أخرى لتعطيل وضع الارتباط.

<figure><img src="/files/ZHC685aS9swHmoKOkKpG" 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/arby/albramj-altalymyh/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.
