-
Notifications
You must be signed in to change notification settings - Fork 6
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 links to resources in exported diagram #32
Comments
Do you mean to include the svg in a HTML file with the description of the resources? Like the HTML generated by Widoco? |
My specific use case is:
Now I if the boxes in the diagram have a href reference to the ressource they represent. A click on it would lead to the pylode part in the documentation. Which would be very neat. |
Yes. That is handy (actually used it http://fairreviews.linkeddata.es/def/core/index.html) but that has to be done in draw.io right? As it is draw.io who exports the svg. |
I suppose you added the links manually, if not disregard the rest. There is a plugin which adds metadata to an svg export: https://www.diagrams.net/doc/faq/plugins, so it should be possible to write an plugin, which adds an href to each element on svg export. Another possiblilty would be to post-process the svg and add the links there. |
Then is this a requirement for a new plugin for driagrams.net? I can't see it as part of Chowlk as chowlk exports RDF. |
Yes, this would be a new plugin for diagrams.net. |
It is possible to export the ontology with draw.io to SVG and HTML. It would be nice if the elements in the exported diagram are linked to their resource. For example, that a click on a box representing a class redirect to the resource.
The text was updated successfully, but these errors were encountered: