Requirements

  • Install graphviz form graphviz.org, add it to PATH
  • Install graphqlviz by npm install -g graphqlviz

Visualize it as an image

  • graphqlviz http://localhost:3000/graphql | dot -Tpng -o graph.png