Difference between revisions of "UserManual:Extension/DrawioEditor"
Bookmanager (talk | contribs) |
(Replaced content with "<bookshelf src="Book:User manual" /> {{Manual:Extension/DrawioEditor}}") (Tags: Replaced, 2017 source edit) |
Contents
Summary[edit source]
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.

Contents
Inserting a chart[edit| edit source]
To insert a drawing with VisualEditor:
- Create or choose a page where you want to insert a drawing.
- Select Insert > Magic word from the editor toolbar.
- Choose drawio from the list of magic words.
- Click Done. This opens a dialog box. Enter a name for your drawing.
-
Click Insert.
This inserts the following tag in your source code
{{#drawio:Name_of_the_flowchart}}
- Save the page.
Editing the drawing[edit| edit source]
- 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.
- Click Save in the draw.io window to save your drawing.
- Click Exit next to the Save button in the draw.io window to close the draw.io editor.
About PNG and SVG files[edit | edit source]
In BlueSpice, draw.io diagrams are always saved in PNG format. It is currently not possible to save diagrams in SVG formats. If you have installed your wiki in-house (i.e., you are not working in the cloud), you can activate SVG support via an additional extension.
Import of existing diagrams[edit | edit source]
Visio diagrams[edit | edit source]
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[edit | edit source]
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. It is also not saved as an SVG file in the wiki. As an alternative to importing it into draw.io, you should upload the SVG file to the wiki and embed it on a wiki page. 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.
Using draw.io with image maps[edit| edit source]
Draw.io creates a versioned png-file in the File namespace. This means that every change of the flowchart that was concluded by Save will create 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
- draw.io supportWebsite
- mediawiki.org/wiki/Extension:DrawioEditor
- UserManualReference:DrawioEditor
- Anja Ebersbach, draw.io für MediaWiki und BlueSpice-Kollaborativ erstellte Zeichnungen, Hallo Welt! Blog vom 11. Juli 2017. (german)
UserManual:En: UserManual:De:Handbuch:Erweiterung/DrawioEditor
- , BlueSpice News & Know How, February 13 2020.
{{DISPLAYTITLE:Drawio}} ==Summary== '''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. [[File:Manual:drawio-processchart.png|alt=draw.io chart|center|thumb|550x550px|draw.io chart]] ==Inserting a chart== '''To insert a drawing with VisualEditor:''' #'''Create or choose''' a page where you want to insert a drawing. #'''Select''' ''Insert > Magic word'' from the editor toolbar. #'''Choose''' ''drawio'' from the list of magic words. #'''Click''' ''Done''. This opens a dialog box. Enter a name for your drawing. #'''Click''' ''Insert.'' [[File:Manual:drawio-dialog.png|link=https://en.wiki.bluespice.com/wiki/File:Manual:drawio-dialog.png|alt=drawio dialog|center|450x450px]]This inserts the following tag in your source code <code><nowiki>{{#drawio:Name_of_the_flowchart}}</nowiki></code> #'''Save''' the page. ==Editing the drawing== #'''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.[[File:Manual:fullscreen-icon.png|alt=full-screen icon|center|133x133px|link=https://en.wiki.bluespice.com/wiki/File:Manual:fullscreen-icon.png]] #'''Click''' ''Save'' in the draw.io window to save your drawing. #'''Click''' ''Exit'' next to the Save button in the draw.io window to close the draw.io editor. ==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 that was concluded by ''Save'' will create a new, updated version of this png-file. You can integrate this file on another page in your wiki or create an [[UserManual:ImageMap|image map]]. {{Box Links-en |Topic1=[https://www.draw.io/ draw.io support] |Topic2=[[UserManual:Mw:Extension:DrawioEditor|mediawiki.org/wiki/Extension:DrawioEditor]] |Topic3=[[UserManual:DrawioEditor]] |Topic4=Anja Ebersbach, [https://blog.hallowelt.com/2017/07/11/draw-io-fuer-mediawiki-und-bluespice-kollaborativ-erstellte-zeichnungen draw.io für MediaWiki und BlueSpice-Kollaborativ erstellte Zeichnungen], Hallo Welt! Blog vom 11. Juli 2017. (german) }} [[UserManual:En:]] [[UserManual:De:Handbuch:Erweiterung/DrawioEditor]] [[Category:Editing]] [[Category:Content]]<bookshelf src="Book:User manual" /> {{Manual:Extension/DrawioEditor}}
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <bookshelf src="Book:User manual" /> | |
− | + | {{Manual:Extension/DrawioEditor}} | |
− | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− |