GraphQL Creator

How to create GraphQL nodes and fields

Create a node

  1. Click new type/input/interface/union/enum/scalar/directive

  2. Type in the name of the node

  3. Click enter

circle-info

Nodes (aside from scalars) need at least one field to be fully created.

Change node name

  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:

Duplicate node

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

Create a node field

  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

  1. Select a node

  2. Click [!]

  3. Select the desired options

Delete a field

  1. Select a node

  2. Click the 3 dots menu on the desired field.

  3. Click Delete

Implement Interface

  1. Select a node

  2. Click the {} menu

  3. Select the desired interface

Add directive

  1. Select a node

  2. Click the @ menu

  3. Select the desired directive

Last updated

Was this helpful?