graphql-kit / graphql-voyager

🛰️ Represent any GraphQL API as an interactive graph
https://graphql-kit.com/graphql-voyager/
MIT License
7.69k stars 504 forks source link

Support prebuilt SVG graph #379

Open namoscato opened 6 months ago

namoscato commented 6 months ago

Thanks for maintaining this neat project, @IvanGoncharov!

I'm running into issues rendering a very large schema; presumably the Graphviz WebAssembly build is too much for the browser to handle:

Uncaught RangeError: Maximum call stack size exceeded
    at 002a5d36

Would you be open to supporting a mode in which the SVG graph is prebuilt?

namoscato:prebuild prototypes what this might look like:

At any rate, if you are open to this feature, I would be happy to collaborate with you on the implementation!

Relates to https://github.com/graphql-kit/graphql-voyager/issues/63, https://github.com/graphql-kit/graphql-voyager/issues/129, https://github.com/graphql-kit/graphql-voyager/issues/204, https://github.com/graphql-kit/graphql-voyager/issues/377