Skip to content

Embed Diagrams

Luis Silva edited this page Sep 15, 2020 · 34 revisions

To embed diagrams in GitHub markdown, diagrams can be saved as editable .png or .svg images and referenced directly using img tags, eg. ![Alt](images/someimage.png) with draw.io for GitHub at https://www.draw.io/?mode=github. To read and write files in Wikis, the desktop version from https://get.draw.io must be used due to limitations of the GitHub REST API.

Here is an example vector image:

Database Schema

Here is an example bitmap image:

Database Schema

View the diagram as an image: https://raw.githubusercontent.com/wiki/jgraph/draw.io/images/schema.png schema

View the diagram in fullscreen: https://www.draw.io/?lightbox=1#Uhttps%3A%2F%2Fraw.githubusercontent.com%2Fwiki%2Fjgraph%2Fdraw.io%2Fimages%2Fschema.png

Use the diagram as a template: https://www.draw.io/?#Uhttps%3A%2F%2Fraw.githubusercontent.com%2Fwiki%2Fjgraph%2Fdraw.io%2Fimages%2Fschema.png

Edit the diagram: https://www.draw.io/#Hjgraph%2Fdrawio-diagrams%2Fmaster%2Fdiagrams%2Fschema.xml (normal repository entry used, login required)

hola

Clone this wiki locally