blob: 785d2e7a5611a4ec4c3644c745b1e2f2c72351da (
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
|
\documentclass{scrartcl}
\usepackage{graphics}
% Enables inclusion of SVG graphics - 1:1 approach
% This is NOT the approach of https://ctan.org/pkg/svg-inkscape
% which allows text in SVG to be typeset using LaTeX.
% We just include the SVG as is.
\usepackage{epstopdf}
\epstopdfDeclareGraphicsRule{.svg}{pdf}{.pdf}{%
inkscape -z --file=#1 --export-pdf=\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}
\end{document}
|