pdf文档 PlantUML 1.2019.6 Справочное руководство по языку

1.95 MB 173 页 0 评论
语言 格式 评分
俄语
.pdf
3
摘要
The document provides a comprehensive guide to PlantUML version 1.2019.6, detailing its features and functionalities. It covers various diagram types such as UML diagrams, sequence diagrams, class diagrams, and non-UML diagrams like mind maps and work breakdown structures. The guide also explains preprocessing capabilities similar to the C language preprocessor, variable definitions, conditions, and integration with external libraries like AsciiMath and JLaTeXMath for mathematical notations. Additionally, it includes examples of how to customize diagrams using skin parameters and how to include cloud icons for visual representation.
AI总结
### 总结:《PlantUML 1.2019.6 Справочное руководство по языку》 #### 1. **Preprocessing** - **Preprocessor Updates**: - PlantUML's preprocessor is similar to C but uses `!` instead of `#`. - **Migration Notes**: - Avoid using legacy commands like `!define` and `!definelong`; use `!function` and variable definitions instead. - `!include` now supports multiple inclusions and URLs, making `!include_many` and `!includeurl` obsolete. - Legacy features like `%date%` have been replaced by built-in functions. #### 2. **Variable Definition** - Variables can be integers or strings (enclosed in quotes). - Global variables are recommended, starting with `$`, and can be defined using the `global` keyword. - Example: ```plantuml !$ab = "foo1" !global $ef = $ab + $cd ``` #### 3. **Conditions** - Conditional expressions can be used in diagrams, though details are not fully elaborated in the document. #### 4. **Work Breakdown Structure (WBS)** - Uses OrgMode syntax for hierarchical structuring. - Example: ```plantuml @startwbs * Business Process Modelling WBS ** Launch the project *** Complete Stakeholder Research @endwbs ``` - Direction changes can be controlled using `<` and `>`. #### 5. **Cloud Insight Integration** - PlantUML supports Cloud Insight sprites for enhanced visual representation of technologies. - Example: ```plantuml !include rectangle "<$tomcat>\nwebapp" as webapp ``` #### 6. **Standard Library** - PlantUML supports a wide range of diagrams, including: - UML diagrams (Sequence, Class, Activity, etc.) - Non-UML diagrams (Wireframe, Archimate, SDL, Ditaa, Gantt, MindMap, Work Breakdown Structure, Mathematics). - Uses AsciiMath and JLaTeXMath for mathematical notation. #### 7. **Skin Parameters** - Customizable appearance using `skinparam` commands. - Example: ```plantuml skinparam class { BackgroundColor PaleGreen ArrowColor SeaGreen } ``` #### 8. **Examples** - Includes examples for: - Legends (`legend` command). - Mathematical formulas using AsciiMath or LaTeX. - Scroll bars for long text. - Integration with tools like MySQL. #### 9. **Common Commands** - **Legends**: Can be positioned (e.g., `legend top left`). - **Maths**: Supports both AsciiMath and LaTeX for formula rendering. #### 10. **Key Features** - **Flexibility**: Supports multiple diagram types and customization options. - **Integration**: Compatible with external libraries and tools (e.g., Cloud Insight, LaTeX). - **Documentation**: Comprehensive guide covering syntax, commands, and examples. This document provides a detailed guide to using PlantUML, focusing on its preprocessor capabilities, variable definitions, diagram types, and customization options.
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 161 页请下载阅读 -
文档评分
请文明评论,理性发言.