여기를 클릭하면이 페이지에 기여할 수 있습니다  (Menu)


If you support us, you might vote for PlantUML as Project of the Month.
Just post VOTE: plantuml. Thanks !

 

 

Install

Docutils allows to conveniently write and generate documents in various output formats (see installation details here):

  1. Replace/patch your docutils distribution with the files in src/
  2. See usage examples in usage/ including how to setup defaults PlantUML

 

 

Usage

Use the "uml" directive and write an indented block of PlantUML commands. No arguments are required, an image will be generated and inlined. The name is derived from the input line number, the generated plantuml "source" is keep in the same directory.

.. uml::

actor User
participant "First Class" as A
participant "Second Class" as B
participant "Last Class" as C

User -> A: DoWork
activate A

You can pass a filename for the image (WITHOUT extension) as an optional parameter.

.. uml:: uml2/myDiagram123

actor User
participant "First Class" as A
participant "Second Class" as B
participant "Last Class" as C

User -> A: DoMoreWork
activate A