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

feat: render svg without a browser [wip] #2

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ivan-aksamentov
Copy link
Member

@ivan-aksamentov ivan-aksamentov commented Dec 22, 2021

Attempts to resolve #1

These are my messy attempts to render the d3 schema into svg without running it in the browsers, i.e. under Node.js.

Neither JSDOM nor SVGDOM worked due to some of the SVG-related DOM functions used in D3 not being implemented in these environments.

Perhaps someone else could give it a try?

These are my messy attempts to render the d3 schema into svg without runnig it in the browsers, i.e. under Node.js.

Neither JSDOM nor SVGDOM worked due to some of the SVG-related DOM  functions used in D3 not being implemented in these environements.

Perhaps someone else could give it a try?
@vercel
Copy link

vercel bot commented Dec 22, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextstrain/ncov-clades-schema/HAEdg9nnFQcZFey3FU9rzAYqEFkm
✅ Preview: https://ncov-clades-schema-git-render-svg-in-nodejs-nextstrain.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

Render SVG without browser
1 participant