Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add the ability to save a generated diagram as PNG #12
Currently the diagram can only be seen in the editor it is generated. It would be nice to be able to export this diagram as a PNG.
This would most likely be done by converting the DOM to HTML5 Canvas and then saving the canvas as an image.
Worth noting to only load any used libraries when this action is requested so as to not bloat the VS Code webview.