GraphQL Server CLI visualizer. Adapted from original web interface.
$ npm install -g graphqlviz
GraphQL Server CLI visualizer
Options:
-a, --noargs render without field arguments
-v, --verbose print introspection result
-s, --sort sort fields
Usage
$ graphqlviz [url]
Renders dot schema from [url] endpoint
Examples
$ graphqlviz https://localhost:3000 | dot -Tpng -o graph.png
$ graphqlviz http://graphql-swapi.parseapp.com | dot -Tpng | open -f -a Preview
$ graphqlviz path/to/schema.json | dot -Tpng | open -f -a Preview
$ cat result.json | graphqlviz | dot -Tpng | open -f -a Preview
Adam Stankiewicz | Nathan Smith | Join |