类图:http://plantuml.com/class-diagram 流程图:http://plantuml.com/activity-diagram-beta 时序图:http://plantuml.com/sequence-diagram 用例图:http://plantuml.com/use-case-diagram 状态图:http://plantuml.com/state-diagram 组件图:http://plantuml.com/component-diagram 1. 类图 案例1: @startum...
完整示例(Complete Example) #+BEGIN_SRC plantuml :file ../img/plantuml-quickstart-a13.png 'http://click.sourceforge.net/images/activity-diagram-small.png title Servlet Container (*) --> "ClickServlet.handleRequest()" --> "new Page" if "Page.onSecurityCheck" then ->[true] "Page.onInit...
@startumltitleSimpleexample\nof titleObject<|--ArrayList@enduml 设置Legend @startumlObject<|-ArrayListlegend rightObject and ArrayList are simpleclassendlegend@enduml 关联类 一个类和两个类有关联时设置关系: @startumlclassStudent{Name}Student"0..*"-"1..*"Course(Student,Course) ..EnrollmentclassEn...
组件图 (Component Diagram) 部署图 (Deployment Diagram) 对象图 (Object Diagram) 用例图 (Use Case Diagram) 活动图 (Activity Diagram) 状态机图(State Machine Diagram) 序列图 (Sequence Diagram) 时序图 (Timing Diagram) 其它格式图表 网络图 (Network) 线框图 (Wireframe) 甘特图 (Gantt Diagram) 思维...
example of a long note. end note @enduml 改变注释的形状 @startuml rnote_hnote' 你可以使用 hnote 和 rnote 这两个关键字来修改备注框的形状 caller -> server : conReq hnote over caller : idle caller <- server : conConf rnote over server ...
通过调用exportDiagram方法 importnet.sourceforge.plantuml.FileFormat;importnet.sourceforge.plantuml.FileFormatOption;importnet.sourceforge.plantuml.SourceStringReader;importjava.io.FileOutputStream;publicclassMain{publicstaticvoidmain(String[] args)throwsIOException {OutputStreamoutput=newFileOutputStream("test....
class diagram, activity diagram (here is the new syntax), component diagram, state diagram, object diagram, wireframe graphical interface PlantUML通过简单和直观的语言来定义图形,它可以生成PNG、SVG和二进制 图片。下面是一个简单的示例: #+BEGIN_SRC plantuml :file ../img/orgmode-babel-sequenceuml....
Gantt Diagram @startgantt [Prototype design] lasts 15 days [Test prototype] lasts 10 days -- All example -- [Task 1 (1 day)] lasts 1 day [T2 (5 days)] lasts 5 days [T3 (1 week)] lasts 1 week [T4 (1 week and 4 days)] lasts 1 week and 4 days ...
类图:http://plantuml.com/class-diagram 流程图:http://plantuml.com/activity-diagram-beta 时序图:http://plantuml.com/sequence-diagram 用例图:http://plantuml.com/use-case-diagram 状态图:http://plantuml.com/state-diagram 组件图:http://plantuml.com/component-diagram ...
@startumlclass Car Driver -Car: drives > Car *-Wheel: have4> Car --Person: < owns@enduml 生成的类图如下: 上面的类图意思是: Driver 驾驶 Car Car 有4个 Wheel Person 拥有 Car 添加方法 在类名后面添加冒号可以添加方法和方法的参数,例如: ...