> For the complete documentation index, see [llms.txt](https://sniveler-code.gitbook.io/dots/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sniveler-code.gitbook.io/dots/project-ai-behavior-architect/section-3/interface-overview.md).

# 🎨 Interface Overview

The **AI Behavior Architect Editor** is your central hub for visually authoring AI logic. You can open it at any time via `Window/Sniveler Code/AI Behavior Architect`.

The editor is divided into three primary zones:

#### 🛠 1. The Top Toolbar

Located at the very top of the window, the toolbar manages which behavior tree you are currently editing.

* **Active Tree:** Drag and drop a `GraphAsset` here to open it.
* **Breadcrumbs / History:** When you dive into Sub-Trees (nested graphs), this area displays your navigation history (e.g., `Hierarchy -> PatrolBehavior -> OpenDoor`). Click on any previous name to jump back up the hierarchy.

#### 🎛 2. The Settings Panel (Left)

This side-panel contains the contextual settings for your graph and nodes.

* **Node Tab:** Whenever you select a node on the canvas, this tab acts as an Inspector. It allows you to configure parameters, dropdowns, and data specific to that node.
* **Variables Tab:** This is where you manage the **Blackboard** variables for the entire graph (we will cover this deeply in Section 4).
* **Compile Button:** Located at the bottom of the panel. Click this to trigger the code-generator and update your DOTS backend.

#### 🗺 3. The Graph Canvas (Right)

This is your infinite workspace.

* **Navigation:** Middle-click (or hold Alt + Left-click) to pan. Scroll to zoom.
* **Add Nodes:** Right-click anywhere (or press Spacebar) to open the Node Search window.
* **Ports:** Nodes connect via ports.
  * Top/Bottom Ports (Vertical): These are **Flow Ports**, used to define execution order (e.g., connecting a Sequence to an Action).
  * Left/Right Ports (Horizontal): These are **Data Ports**, used to pass Blackboard variables directly between specific nodes (like passing a spatial position to an entity spawner).

***

<br>


---

# 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://sniveler-code.gitbook.io/dots/project-ai-behavior-architect/section-3/interface-overview.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.
