-
Notifications
You must be signed in to change notification settings - Fork 90
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
Independent viewer component for embedding #15
Comments
This could be possible, there is a similar Issue that will export the board as png except what you're saying would be perphaps SVG. I mean something like drawio File->Embed->SVG function. |
I was thinking more exporting the json and rendering it on the fly, though exporting an svg might be a reasonable fallback. Rendering it on the fly would make updating the document much easier though, as the source simply needs to be imported, modified and re-exported. |
There are certainly a lot of pros this would bring, however I don't think that it would be possible now. It would mean a lot of changes and I'm not sure I even know where to start. I will try to look into more way to export the system outside the app after creating the "export as png/svg" and maybe even try this method. It will take some time though... |
No problem, it'll probably mean decoupling the board view from the rest of the app somehow |
Most of the UI was decoupled, only things that are essential for the board are present in the component. The |
Would it be possible to separate the viewer component such that it can take a JSON file and display it as an embedded format à la mermaidJS? This will make it easier to embed a read-only version for documentation purposes.
The text was updated successfully, but these errors were encountered: