File: index.rst

package info (click to toggle)
python-sphinxcontrib.plantuml 0.31-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: python: 949; makefile: 141
file content (57 lines) | stat: -rw-r--r-- 602 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PlantUML Example
================

Class diagram:

.. uml::
   :caption: A caption with **bold** text

   Foo <|-- Bar

Sequence diagram:

.. uml::

   Alice -> Bob: Hello!
   Alice <- Bob: Hi!

Sequence diagram in Japanese, read from external file:

.. uml:: seq.ja.uml

scale: 50%:

.. uml::
   :scale: 50 %

   Foo <|-- Bar

width: 50%:

.. uml::
   :width: 50 %

   Foo <|-- Bar

height: 400px:

.. uml::
   :height: 400px

   Foo <|-- Bar

width: 10px * 1000%:

.. uml::
   :scale: 1000 %
   :width: 10px

   Foo <|-- Bar

200x600px:

.. uml::
   :width:  200px
   :height: 600px

   Foo <|-- Bar