graphql-kit / graphql-voyager

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

GraphQL Voyager Transmitting mode for large Schemas #163

Open divyamvpandian opened 4 years ago

divyamvpandian commented 4 years ago

Hi,

When i open voyager for the schema i have, i can see the left pane listing all objects but the relationship diagram is not getting loaded. I tried with lesser no of types (almost 50% removed) and it gets loaded and i can navigate well. This is similar to https://github.com/APIs-guru/graphql-voyager/issues/63

I see same error - "Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 268435456"

I use rc-29 and i tried to change the voyager min.js from 1677721616 to 1677721632 but it did not seem to get loaded. Can i know if voyager min js in my node modules is used or it will load from cdn.jsdelivr.net.

IvanGoncharov commented 4 years ago

Can i know if voyager min js in my node modules is used or it will load from cdn.jsdelivr.net.

@divyamvpandian If you use our middleware you are definitely using one from cdn.jsdelivr.net. We need to figure out how to read CDN links especially since it will also enable offline support.

divyamvpandian commented 4 years ago

Thanks @IvanGoncharov Just for a test, i changed render voyager js to fetch voyagermin js from my localhost file with memory increased to 16777216 * 32 and can see the diagram getting loaded in FireFox.