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

Add diagrams support #291

Merged
merged 4 commits into from
Nov 25, 2022
Merged

Add diagrams support #291

merged 4 commits into from
Nov 25, 2022

Conversation

tbranyen
Copy link
Owner

@tbranyen tbranyen commented Nov 25, 2022

Allows the use of <mermaid>graph content</mermaid> tags in the website to generate graphs. I'd like to generate these for the transaction/render flow, the object pooling/gc concept, and outlining future plans.

This works by blending jsdom and svgdom together to allow mermaid to correctly parse out the bounding boxes and render perfect layouts at build time instead of at runtime. This may get extracted into a plugin at some point since it is generally useful.

@tbranyen tbranyen merged commit fe3208c into master Nov 25, 2022
@tbranyen tbranyen deleted the add-diagrams-support branch November 28, 2022 15:37
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

Successfully merging this pull request may close these issues.

None yet

1 participant