Need help with graphql-editor?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

graphql-editor
5.0K Stars 207 Forks MIT License 584 Commits 7 Opened issues

Description

📺 Visual Editor & GraphQL IDE. Draw GraphQL schemas using visual 🔷 nodes and explore GraphQL API with beautiful UI. Even 🐒 can do that!

Services available

!
?

Need anything else?

Contributors list

GraphQLEditor Editor

npm Commitizen friendly npm downloads

GraphQLEditor makes it easier to understand GraphQL schemas. Create a schema by using visual blocks system. GraphQL Editor will transform them into code. With GraphQL Editor you can create visual diagrams without writing any code or present your schema in a nice way!

Cloud version

Here is a cloud version of GraphQL Editor.

Docs

Here is a guide for GraphQL Editor.

How it works

Create GraphQL nodes and connect them to generate a database schema. You can also use builtin text IDE with GraphQL syntax validation

GraphQL View

GraphQLEditor Editor

Code Editor View

GraphQLEditor Editor

Hierarchy View

GraphQLEditor Editor

Table of contents

Developer Docs

If you wish to contribute docs from

typedoc
are availble on https://graphql-editor.github.io/graphql-editor/

License

MIT

Develop or use standalone

To use standalone you have to use webpack right now. If you want to use it without webpack you need to handle monaco editor workers yourself.

Install dependencies

npm i react react-dom monaco-editor
npm i -D monaco-editor-webpack-plugin worker-loader css-loader file-loader
npm i graphql-editor
import React, { useState } from 'react';
import { render } from 'react-dom';
import { GraphQLEditor,PassedSchema } from 'graphql-editor';

const schemas = { pizza:type Query{ pizzas: [Pizza!] }, pizzaLibrary:type Pizza{ name:String; } }

export const App = () => { const [mySchema, setMySchema] = useState({ code: schemas.pizza, libraries: schemas.pizzaLibrary, }); return (

{ setMySchema(props); }} schema={mySchema} />

); };

render(, document.getElementById('root'));

Support

Join our Discord Channel

Contribute

For a complete guide to contributing to GraphQL Editor, see the Contribution Guide.

  1. Fork this repo
  2. Create your feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Team

GraphQL Editor Website

Underlying Diagram technology

Whole graphql-editor is based on underlying diagram technology.

Underlying Parsing technology

Whole graphql-editor parsing stuff is based on underlying zeus technology.

GraphQL Tutorials

GraphQL Editor Guide here

GraphQL Blog here

My Video Blog Tutorials here

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.