macroz / graphqlviz Goto Github PK
View Code? Open in Web Editor NEWGraphQLviz marries GraphQL (schemas) with Graphviz.
License: Eclipse Public License 1.0
GraphQLviz marries GraphQL (schemas) with Graphviz.
License: Eclipse Public License 1.0
Hi,
It seems the introspection query returns a "data" element contaning the "__schema", where as the load-schema function expect the __schema to be the outer most key.
The workaround is to just strip the "data" dictionary by hand (or a simple script).
{ "data": { "__schema": { ... } } }
For the newbie,
For the neo fit not use to these technologies,
For the lazy, a ready to use package to run
Thank you
While GraphQL does not specify any standard for doing paging/collections, it seems that a convention is to have a XxxConnection-type and possilby a XxxEdge-type, which always contains a specific sets of fields and reference an instance of Xxx.
With larger graphs with many collections with paging, the Connect/Edge-types clutter the graph quite a bit. It would be nice to have a way of replacing any of these paging classes with a "one to many" connection in the dot-graph. This could be indicated with a star either at the arrow or prefixed/suffixed the connection name.
As there is no specification, this might be a bit tricky to get right, matching might have to be a bit flexible - and this might be a feature that is not on by default.
There does not seem to be any way to get credentials or use "standard" NTLM authentication when doint a live-server introspection query. An exception is thrown which contains the returned result, being a 401 status and a "WWW-Authenticate" ["Negotiate" "NTLM"]-header.
The simple workaround is be to manually do the introspection query and store the result to a file, and then feed the file into GraphQLviz.
Currently only the interface is rendered. Any objects implementing that interface are not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.