Changes

98 bytes added ,  14:35, 29 April 2021
m
add headings
Line 1: Line 1:  +
== General usage ==
 
To insert a drawio chart in a wikipage, switch to source code editing and insert the following line (replace "ChartTitle" with the title of your chart!):
 
To insert a drawio chart in a wikipage, switch to source code editing and insert the following line (replace "ChartTitle" with the title of your chart!):
   Line 7: Line 8:  
After safeing the page, the chart could be edited by a graphical UI (you can't edit the chart while editing the page):
 
After safeing the page, the chart could be edited by a graphical UI (you can't edit the chart while editing the page):
   −
{{#drawio:ChartTitle|type=svg}}To make text labels visible on the wiki page preview, select all elements and disable "Word Wrap" and "Formatted Text" in the Text Settings.
+
{{#drawio:ChartTitle|type=svg}}<br />
 +
 
 +
== Workaround for missing text labels ==
 +
To make text labels visible on the wiki page preview, select all elements and disable "Word Wrap" and "Formatted Text" in the Text Settings.
 
[[File:DrawIO Disable Formatted Text and Word Wrap.png|thumb|Option to make text labels visible in the wiki page preview|none]]
 
[[File:DrawIO Disable Formatted Text and Word Wrap.png|thumb|Option to make text labels visible in the wiki page preview|none]]
 +
<br />
 +
 +
== Reusing graphs ==
 
To reuse the chart on other pages, refer to the same chart title or embedd the chart directly as an image:
 
To reuse the chart on other pages, refer to the same chart title or embedd the chart directly as an image:
 
[[File:ChartTitle.drawio.svg|none|thumb|reused drawio chart (embedded image)]]
 
[[File:ChartTitle.drawio.svg|none|thumb|reused drawio chart (embedded image)]]
 
<br />
 
<br />
Bots, bulkpusher, Bureaucrats, checkuser, filepusher, Interface administrators, oversight, pusher, rdfioadministrator, rdfiocurator, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
5,444

edits