2016-01-26 11:41:59 +00:00
|
|
|
# Plantuml toolset
|
|
|
|
|
|
|
|
A couple of helpful shortcuts to generate `svg` or `png` images out of [plantuml](http://plantuml.com) diagrams. Wacky skin included.
|
|
|
|
|
|
|
|
See it yourself:
|
|
|
|
|
2016-02-02 17:47:28 +00:00
|
|
|
<img src="examples/conversation.png" width="40%" />
|
2016-01-26 11:41:59 +00:00
|
|
|
|
|
|
|
## Using
|
|
|
|
|
|
|
|
It is better to include it in your handcrafted `Makefile` like that:
|
|
|
|
|
|
|
|
```
|
|
|
|
include plantuml-toolset/wsd.mk
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
After that you can invoke it in a number of ways:
|
|
|
|
|
|
|
|
```shell
|
2016-02-04 16:32:19 +00:00
|
|
|
# Find all *.wsd in the current directory recursively and make svg's out of them
|
2016-01-26 11:41:59 +00:00
|
|
|
$ make
|
|
|
|
|
|
|
|
# Same but make png's
|
|
|
|
$ make FORMAT=png
|
|
|
|
|
2016-02-04 16:32:19 +00:00
|
|
|
# Same but make both png's and svg's
|
|
|
|
$ make FORMAT="png svg"
|
|
|
|
|
2016-01-26 11:41:59 +00:00
|
|
|
# Make examples/conversation.png
|
|
|
|
$ make FORMAT=png examples/conversation.wsd
|
|
|
|
```
|
|
|
|
|
|
|
|
> _The more you know._ If you want to render png's properly be sure to install [Neucha](https://www.google.com/fonts/specimen/Neucha) system wide.
|