> For the complete documentation index, see [llms.txt](https://guide.graphqleditor.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.graphqleditor.com/graphql-editor/graph/create.md).

# GraphQL Creator

### Create a node ![](/files/mR6STZWx2vOgS5o59IzF)

1. Click new type/input/interface/union/enum/scalar/directive
2. Type in the name of the node
3. Click enter

{% hint style="info" %}
&#x20;Nodes (aside from scalars) need at least one field to be fully created.&#x20;
{% endhint %}

### Change node name ![](/files/GyhCTPxKgS43wlGppdYZ)

1. Select the node
2. Edit its name like a simple text input

### Delete node

To delete a node open the 3 dots menu on top of the active node and click Delete Node:

![](/files/dRMu2OvUlDdgY3ykUBTe)

### Duplicate node

To duplicate node open the 3 dots menu on top of the active node and click Duplicate Node:

![](/files/cMe1AWBwjGMe1cfFvOeg)

### Create a node field

![](/files/KQZ5SR3Ff8d9Z0o9FL8K)

1. Select a node
2. Click the **+** button
3. Type in the name of the field type or select it
4. Click the **+** button or press enter to submit

After that, the node field will be created with a default name (lowercase first letter type name). To change it, just select the created field and edit it like a simple text input.

### List and Non-null type field

![](/files/0ga5u3gpWBDDMyJJW4Sq)

1. Select a node
2. Click **\[!]**
3. Select the desired options&#x20;

### Delete a field

![](/files/rvniqUfjvWLG0mMVNHTS)

1. Select a node
2. Click the 3 dots menu on the desired field.
3. Click Delete

### Implement Interface

![](/files/l4FhROd492gcL7kYYi7u)

1. Select a node
2. Click the **{}** menu
3. Select the desired interface

### Add directive

![](/files/TlbSZMl0pXUB6pvgCICD)

1. Select a node
2. Click the **@** menu
3. Select the desired directive


---

# 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://guide.graphqleditor.com/graphql-editor/graph/create.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.
