Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support prebuilt SVG graph #379

Open
namoscato opened this issue Dec 29, 2023 · 0 comments
Open

Support prebuilt SVG graph #379

namoscato opened this issue Dec 29, 2023 · 0 comments

Comments

@namoscato
Copy link

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:

  • expose npm script to pre-generate the SVG via a locally installed Graphviz (this takes ~2.5min for my schema)
  • extend Voyager.introspection with another variant that includes SVG contents (arguably an awkward interface in its current state; open to suggestions)

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

Relates to #63, #129, #204, #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant