> For the complete documentation index, see [llms.txt](https://tutorial-ds.anylogicbrasil.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutorial-ds.anylogicbrasil.com.br/espanol/construindo-o-diagrama-de-estoque-e-fluxo-no-anylogic.md).

# Creación del diagrama de flujo y stock en AnyLogic

## Bloques de stock y flujo

AnyLogic tiene varias paletas con bloques de comando que se arrastran al área de modelado central.

En este primer paso del ejercicio, crearemos el diagrama de flujo y stock, como en el dibujo anterior, desde la paleta de comandos de **Dinámica Sistema**. Las paletas de comandos están en el lado izquierdo de la pantalla y cuando dejas el mouse por un tiempo en el borde mismo de la pantalla, aparecen los nombres de las paletas:

![](https://lh3.googleusercontent.com/jCxxD0I7Niiu8nXqiCGeBja18CEWVtZnY1uPgyBDK6waJHl-u6OtZqMJj56Yx4vCeSOQjdAP_j4VwZAGqqg6P1V133GQ-iPT-sKn5gVGzuwn-_iVF5MSKjVpd8NFnXW4L1nEJxhp)

La paleta es muy simple (¡lo cual es bueno!) Y los comandos se utilizan en secuencias haga clic y arrastre. Por ejemplo, creamos nuestro primer bloque de **Stock**: haga clic, mantenga presionado y arrastre el bloque de **Stock** desde la paleta hasta el centro de la pantalla. \[Observe, en la región **Properties**, la derecha, cómo cambia el menú para reflejar las propiedades de lo que hace clic en la pantalla]:

![](https://lh6.googleusercontent.com/0pbkUVPsE_eHusZjeMjcq5begizrhl4asPFI1OQSTuoW2BI0GvUVcfKMwT6eBY4EHxzydGvkzkH9npXqszq24BLelW1UTuzfrS7BkRpCjlLRc--4XgeGYUdUvparC5Ewx2MaTQgw)

Arregle un poco el bloque:&#x20;

* Cambie el nombre a **PotentialClients**;
* Aumente un poco el tamaño y centre el texto:

![](https://lh4.googleusercontent.com/iEpTgZF7Y7VPbnkNX69sCs-WPQEtLaz5_Mpj3JBI3nQfigaa6B4bM-82vO9f2yiSDdMypOv7xNttRhlVG20wEig-dqQiQl7D0-w_ekk9Tk_m5fzgZ9ULDZXi3jO_0GXrzZeTwqxO)

{% hint style="info" %}
En AnyLogic todos los nombres de bloques y elementos se consideran nombres de variables, parámetros o clases, entre otros animales. Así, no acepta en estos campos: espacios en blanco, acentos o cedilla, entre otros animales.
{% 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://tutorial-ds.anylogicbrasil.com.br/espanol/construindo-o-diagrama-de-estoque-e-fluxo-no-anylogic.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.
