blob: 359bc6d960011d3c2f92f97f76c66fde03d9b6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
\documentclass{scrartcl}
\usepackage{graphics}
\usepackage{epstopdf}
\epstopdfDeclareGraphicsRule{.svg}{pdf}{.pdf}{%
inkscape #1 --export-filename=\OutputFile
}
\usepackage[output=svg]{plantuml}
\begin{document}
\begin{plantuml}
@startuml
() "Interface 2" as I2
() "Interface 3" as I3
[component 1] as c1
[component 2] as c2
[component 3] as c3
c1 -- I2
c1 -- I3
I2 )-- c2
I3 )-- c3
@enduml
\end{plantuml}
\newpage
\begin{plantuml}
@startuml
class Car
Driver - Car : drives >
Car *- Wheel : have 4 >
Car -- Person : < owns
@enduml
\end{plantuml}
\end{document}
|