2.2.6 Diagrams


Draw.io offers extensive drawing possibilities for process flowcharts, infographics and other visualizations on a wiki page. Descriptive graphics like process chains or decision trees can be constructed directly on a wiki page.

Inserting a chart

To insert a drawing with VisualEditor:

  1. Create or choose a page where you want to insert a drawing.
  2. Select Insert > Magic word from the editor toolbar.
  3. Choose drawio from the list of magic words.
  4. Click Done. This opens a dialog box. Enter a name for your drawing.
  5. Click Insert.
    drawio dialog
    This inserts the following tag in your source code {{#drawio:Name_of_the_flowchart}}
  6. Save the page.

Editing the drawing

  1. Click Edit on the saved page above the drawio placeholder to open the draw.io editor. For the best editing experience, set your wiki into full-screen mode using the toggle button in the main toolbar.You can now edit your drawing.
    fullscreen-icon.png
  2. Click Save in the draw.io window to save your drawing.
  3. Click Exit next to the Save button in the draw.io window to close the draw.io editor.
draw.io chart
draw.io chart


About PNG and SVG files

In BlueSpice, draw.io diagrams are always saved in PNG format. It is currently not possible to save diagrams in SVG format.

Import of existing diagrams

Visio diagrams

Importing a .vsdx file
Importing a .vsdx file

You can import files with the extension .vsdx directly into draw.io and edit them further. To do this, create an empty draw.io diagram on a wiki page. Save the empty diagram and then switch to draw.io's edit mode. From there, choose File> Import From> Device. You can then edit the imported diagram in draw.io.

SVG files

When you import an SVG file into the BlueSpice draw.io editor, it is automatically converted into PNG format and can, therefore, no longer be edited as SVG file. As an alternative to importing it into draw.io, you could upload the SVG file to the wiki and embed it on a wiki page. In that case, the versioning of the file cannot be done directly in the wiki. The updated version of the SVG file would then have to be updated accordingly via the file page by uploading it again. The SVG can be embedded in a wiki page through the SVG Widget, which needs to be imported to the wiki first.

Using draw.io with image maps

Draw.io creates a versioned png-file in the File namespace. This means that every change of the flowchart creates a new, updated version of this png-file. You can integrate this file on another page in your wiki or create an image map.

Note:It is not possible to use an image map on the same page as a drawio-diagram.


Related info



To submit feedback about this documentation, visit our community forum.