-
Notifications
You must be signed in to change notification settings - Fork 6
Shapes arent shown in Preview. #20
Comments
I think that this issue is VSCode's issue. You can see yellow shape. follow:
Relative issue is #19. |
SVG does not support all diagrams, and got issue above, so my suggestion is to switch to PNG, just like I did in https://github.com/qjebbs/vscode-plantuml. key code here: let task = this.exporter.exportToBuffer(diagram, "png");
task.promise.then(
result => {
let b64 = result.toString('base64');
this.image = `data:image/png;base64,${b64}`
...
}
); |
@qjebbs Thank you!! I released new version. This version show correctry diagram. |
I have the latest version and preview only displays a white empty page with a tiny white square box at the upper left corner of the PlantUML Preview window. VSCode version 1.9.1 |
Thank you for your feedback. This case is when export a unsaved document. I released v0.2.1. |
installed a new code-version... cant currently see the yellow shapes in the preview... only text and arrows are shown.
The text was updated successfully, but these errors were encountered: