# Data Flow Diagram

![Data Flow Diagram](https://content.gitbook.com/content/aNbtXAm2MUsbrMlAEZb1/blobs/sUQVWELCgDYqMx5AEjqh/DFD.png)

## Create Data Flow Diagram

To create a Data Flow Diagram:

1. Select first an element where a new Data Flow Diagram to be contained as a child.
2. Select **Model | Add Diagram | Data Flow Diagram** in Menu Bar or select **Add Diagram | Data Flow Diagram** in Context Menu.

## Data Flow Model

To create a Data Flow Model (model element only) by Menu:

1. Select an Element where a new Data Flow Model to be contained.
2. Select **Model | Add | Data Flow Model** in Menu Bar or **Add | Data Flow Model** in Context Menu.

## External Entity

To create an External Entity:

1. Select **External Entity** in **Toolbox**.
2. Drag on the diagram as the size of External Entity.

You can use **QuickEdit** for External Entity by double-click or press `Enter` on a selected External Entity.

* **Name** : Edit name.
* **Add Note** : Add a linked note.
* **Add Outgoing Process** : Add an outgoing data flow with a process.

## Process

To create a Process:

1. Select **Process** in **Toolbox**.
2. Drag on the diagram as the size of Process.

You can use **QuickEdit** for Process by double-click or press `Enter` on a selected Process.

* **Name** : Edit name.
* **Add Note** : Add a linked note.
* **Add Incoming External Entity** : Add an incoming data flow with an external entity.
* **Add Outgoing Process** : Add an outgoing data flow with a process.
* **Add Outgoing Datastore** : Add an outgoing data flow with a datastore.

## Datastore

To create a Datastore:

1. Select **Datastore** in **Toolbox**.
2. Drag on the diagram as the size of Datastore.

You can use **QuickEdit** for Datastore by double-click or press `Enter` on a selected Datastore.

* **Name** : Edit name.
* **Add Note** : Add a linked note.
* **Add Incoming Process** : Add an incoming data flow with a process.

## Data Flow

To create a Data Flow:

1. Select **Data Flow** in **Toolbox**.
2. Drag from an element and drop on another element.

You can use **QuickEdit** by double-click or press `Enter` on a selected data flow.

* **Name** : Edit name.
* **Add Note** : Add a linked note.


---

# 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://docs.staruml.io/working-with-additional-diagrams/data-flow-diagram.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.
