16 |

17 |
18 | ├── README.md ├── Makefile ├── examples ├── index.html ├── activity1.gv ├── usecase1.gv └── usecase2.gv └── uml.ps /README.md: -------------------------------------------------------------------------------- 1 | graphviz uml 2 | -------------- 3 | 4 | This is the begin of an external postscript procedure file and examples for 5 | producing UML graphs. 6 | 7 | Use it like following: 8 | 9 | dot -Tps -l uml.ps -o usecase1.ps examples/usecase1.gv 10 | 11 | For examples how to use and create use-case diagrams check the examples. -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | 2 | EXAMPLES = \ 3 | examples/usecase1.png \ 4 | examples/activity1.png \ 5 | examples/usecase2.png 6 | 7 | %.png: %.gv uml.ps 8 | @echo "Rendering graph: $@" 9 | @dot -Teps -l uml.ps $< | gs -q -dEPSCrop -r150 -dNOPAUSE -dBATCH -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=pngalpha -sOutputFile=$@ - 10 | 11 | all: $(EXAMPLES) 12 | 13 | clean: 14 | rm -f $(EXAMPLES) 15 | 16 | -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 |
11 |
18 | 