graphql

Graphical presentation of GraphQL schema


Is there a way to provide visual diagram (UML like) of GraphQL Schema design?

Background: I already have a schema design with me, which is to be converted into GraphQL API. However, before starting GraphQL development, I want to create visual representation of schema that I have. Diagram should essentially show atleast Query Types and Relations, which will help developer knowing what to develop in GraphQL.

Is there a way or standards?


Solution

  • Check out this tool: https://github.com/sheerun/graphqlviz

    In my experience using it on real-world GraphQL schemas the output can get really large but I think it may do what you are asking for.

    Hope this helps!