plugin:ditaa
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:ditaa [2016-02-15 23:25] – [Example] 37.115.223.10 | plugin:ditaa [2024-01-01 19:52] (current) – screenshot Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : syntax | type : syntax | ||
- | lastupdate : 2016-02-02 | + | lastupdate : 2016-06-24 |
- | compatible : lemming, anteater, rincewind, angua, weatherwax, adora belle | + | compatible : Lemming, Anteater, Rincewind, Angua, Weatherwax, Adora Belle, Hrun, Detritus |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
tags : media, images, diagram, java | tags : media, images, diagram, java | ||
Line 24: | Line 24: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
==== Changes ==== | ==== Changes ==== | ||
Line 32: | Line 32: | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | The plugin provides a configuration setting in the [[plugin: | + | The plugin provides a configuration setting in the [[plugin: |
- | <del>When you do not provide a Java interpreter | + | When you not provide a Java path, the plugin will instead |
- | :!: **ditaa.org is down since long time** (02.12.2012 acc. below comment), and is still down today 17.12.2015. --- //tmomas// | + | |
===== Syntax ===== | ===== Syntax ===== | ||
Line 55: | Line 54: | ||
| height=//< | | height=//< | ||
| //< | | //< | ||
- | | < | + | | < |
- | | (no)round | + | | (no)round |
- | | (no)shadow | + | | (no)shadow |
- | | (no)antialias | + | | (no)antialias |
- | | (no)edgesep | + | | (no)edgesep |
| left center right | | left center right | ||
Line 66: | Line 65: | ||
Not all shape selector tags are documented on the ditaa site. A quick source scan revealed: | Not all shape selector tags are documented on the ditaa site. A quick source scan revealed: | ||
- | ^ tag ^ Description | + | ^ tag ^ Description |
- | | {c} | decision(Choice) | + | | '' |
- | | {d} | document | + | | '' |
- | | {io} | input/ | + | | '' |
- | | {mo} | manual operation | + | | '' |
- | | {o} | ellipse, circle | + | | '' |
- | | {s} | storage | + | | '' |
- | | {tr} | trapezoid (looks like an inverted {mo} ) | | + | |'' |
===== Example ===== | ===== Example ===== | ||
- | {{ http://img696.imageshack.us/img696/7251/foom.png? | + | {{ https://trello.com/ |
< | < | ||
<ditaa round noedgesep right> | <ditaa round noedgesep right> | ||
- | + | | |
- | | + | |
- | | + | |
| | --+ ditaa +--> | | | | | --+ ditaa +--> | | | ||
| Text | | | Text | | ||
Line 95: | Line 92: | ||
</ | </ | ||
</ | </ | ||
- | ===== Discussion ===== | ||
- | Would it be possible to embed active dokuwiki links, or even implement an imagemap for the rendered png, so the boxes can become active links - a bit like flowchartwiki ? -- //LS 20120111// | + | ===== Further Doc ===== |
- | ==== Workaround for wrong java version ==== | + | |
- | Ditaa did not work out of the box as the servers default version of java was 1.5 \\ | + | |
- | I created therefor a small bat file called CorrectJavaDitaa.bat containing the following text: | + | |
- | <code dos CorrectJavaDitaa.bat> | + | |
- | set JAVA_HOME=F: | + | |
- | path %JAVA_HOME%\bin; | + | |
- | java %* | + | |
- | </ | + | |
- | %%F:\oracle\product\middleware\jdk160_24%% is a version 1.6 of java ;-) \\ | + | |
- | In the config screen of DokuWiki the value of java was set to the location of the bat file: \\ | + | |
- | | The path to your Java runtime interpreter (eg. /usr/bin/java). Leave empty to use remote rendering at ditaa.org. | %% F: | + | |
- | Hope this may help others, also in setting other environmental parameters to get the jvm behave as needed \\ | + | |
- | // JH - 29-may-2013 // | + | |
- | thanks a lot. it is not just workaround, it is a must! | ||
- | I use version java1.7 | ||
- | // AQ - 13-feb-2014 // | ||
- | ==== Bugs ==== | ||
- | |||
- | Ditaa don't understand non-latin characters. For example: Cyrillic. | ||
- | |||
- | The server at ditaa.org seems to be down, and has not been responsive for a while. | ||
- | Confirmed, ditaa.org still down --- //tmomas 2015/ | ||
- | |||
- | ---- | ||
- | Ditaa works with Cyrillic/ | ||
- | |||
- | Ditaa Plugin pref | ||
- | |||
- | plugin»ditaa»java | ||
- | The path to your Java runtime interpreter | ||
- | (eg. / | ||
- | remote rendering at ditaa.org. | ||
- | |||
- | - type something (without quotes) - " | ||
- | |||
- | ==== broken.png is displayed / plugin doesn' | ||
- | I found that ditaa recently broke on my system - running < | ||
- | ... | ||
- | Caused by: java.lang.Error: | ||
- | ...</ | ||
- | |||
- | This seems to happen on OpenJDK on Linux, and was resolved by installing the dejavu font package. On Gentoo:< | ||
- | --- [[user> | ||
- | |||
- | ==== farm mode ==== | ||
- | This plugin fails in farm mode. Report to the [[https:// | ||
- | |||
- | You can workaround adding one line in ''< | ||
- | function _cachename($data, | ||
- | unset($data[' | ||
- | unset($data[' | ||
- | unset($data[' | ||
- | +++ | ||
- | return getcachename(join(' | ||
- | } | ||
- | </ | ||
- | --- [[user> |
plugin/ditaa.1455575143.txt.gz · Last modified: 2016-02-15 23:25 by 37.115.223.10