GraphQL Server schema visualizer
GraphQL Server CLI visualizer. Adapted from original web interface.
$ npm install -g graphqlviz…Note that dot is graphviz's tool to produce layered drawings of directed graphs. graphviz is available through most package managers including homebrew and apt-get. Details here: https://www.graphviz.org/download/
You can print default theme with graphqlviz --print-theme > theme.json, then you can modify it, and pass with --theme theme.json argument. All the available colors can be found on the graphviz site.
Windows users looking use the dot command should download & install from the graphviz website and ensure the installation location is on the system PATH. It has been reported that, for at least some windows versions, the msi does not automatically add the installation to the PATH. Alternatively the executables can be invoked directly. The installation location will likely be similar to C:\Program Files (x86)\Graphviz2.38\bin\.
Mac users can install the dot command as part of graphviz (from AT&T and Bell Labs) by running:
brew install graphviz| | ---|---|--- Adam Stankiewicz | Nathan Smith | Join
No open issues yet, or sync has not completed.