使用 Graphviz 绘画 UML 图# 使用 Graphviz 绘画 UML 图 Milo Yip 2019/10/28 ## 目录 1 简介 1.1 使用 Graphviz dot 2 类图 2.1 继承 2.2 关联 2.3 聚合 2.4 组成 2.5 依赖 2.6 类成员 2.7 包 2.8 排布技巧 2.9 颜色 3 状态图 4 参考 18 ## Chapter 1 去描述图(graph),然后自动排布节点和边去生成图片。它已有近 30 年历史。 UML(unified modeling language,统一建模语言)是一种常用的面向对象设计的方法。其中最常用的是类图(class diagram),用于表示类的构成以及类之间的关系。 利用 Graphviz 去生成 UML 类图有几个好处: 1. 用文本表示图,容易更新,容易做版本管理。 2. 能自动排布节点位置,在大型复杂的图特别方便。 dot $\le -Tpng -o $@ %.pdf: %.dot dot $\le -Tpdf -o $@ ## Chapter 2 ## 类图 UML 类图(class diagram)是最常见的图,用于表示系统的静态结构。UML 中类是以矩形表示。我们可以在 dot 文件中预设节点的形状,并且设置一些如字体等属性: digraph { node [shape=box, fo0 码力 | 20 页 | 331.51 KB | 2 年前3
Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2023.11)# Drawing UML with PlantUML  #### PlantUML Language Reference Guide (Version 1.2023.11) PlantUML is a component that allows Sequence diagram • Usecase diagram • Class diagram • Object diagram • Activity diagram • Component diagram • Deployment diagram • State diagram • Timing diagram The following non-UML diagrams Data • Network diagram (nwd) • Wireframe graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt diagram • MindMap diagram • Work Breakdown0 码力 | 551 页 | 7.79 MB | 2 年前3
PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2023.11)# PlantUML 을사용해서 UML 그리기  PlantUML 언어참조가이드 (Version 1.2023.11) PlantUML 은다이어그램을빠르게작성하기위한오픈소스프로젝트입니다. · 시퀀스다이어그램 • 유즈케이스다이어그램 타이밍다이어그램 다음의 UML 이외의다이어그램도지원함: • JSON Data • YAML Data • Network diagram (nwd) • Wireframe graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt Gantt diagram • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram 간단하고직관적인어를사용해다이어그램을정의할수있습니다. ## 1 시킨스다이어그램 Creating0 码力 | 552 页 | 7.88 MB | 2 年前3
PlantUML を使った UML の描き方 - PlantUML 言語リファレンスガイド(Version 1.2020.22)# PlantUML を使った UML の描き方  #### PlantUML 言語リファレンスガイド (Version 1.2020.22) PlantUML は、以下のようなダイアグラムを素早く作成するためのコンポーネントです。 ・シーケンス図 ・シーケンス図 ・ユースケース図 ・クラス図 ・アクティビティ図 ・コンポーネント図 ・状態遷移図(ステートマシン図) ・オブジェクト図 • 配置図 ・タイミング図 以下のような、UML 以外の図もサポートしてます。 • JSON Data ・ワイヤーフレーム ・アーキテクチャ図 ・仕様及び記述言語 (SDL) • Ditaa ・ガントチャート ・マインドマップ • "Last\ninterface" as Interf4 [component] footer //Adding "component" to force diagram to be a **component diagram**// @enduml  PlantUML 언어참조가이드 (Version 1.2021.1) PlantUML 은다이어그램을빠르게작성하기위한오픈소스프로젝트입니다. · 시퀀스다이어그램 • 유즈케이스다이어그램 다음의 UML 이외의다이어그램도지원함: • JSON Data • Network diagram (nwd) • Wireframe graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt diagram • MindMap MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram 간단하고직관적인어를사용해다이어그램을정의할수있습니다. • actor • boundary • control • entity0 码力 | 386 页 | 4.12 MB | 2 年前3
PlantUML 1.2021.3 Guía de Referencia del Lenguaje# Diagramando UML con PlantUML  #### Guía de Referencia del Lenguaje PlantUML (Version 1.2021.2) PlantUML es un proyecto Estados • Timing diagram Los siguientes diagramas no-UML también están soportados: • JSON Data • YAML Data • Network diagram (nwd) • Wireframe graphical interface • Archimate diagram • Specification Language (SDL) • Ditaa diagram • Diagrama de Gantt • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram Los diagramas son0 码力 | 407 页 | 4.28 MB | 2 年前3
PlantUML 1.2023.11 Guía de Referencia del Lenguaje# Diagramando UML con PlantUML  #### Guía de Referencia del Lenguaje PlantUML (Version 1.2023.11) PlantUML es un proyecto Estados • Timing diagram Los siguientes diagramas no-UML también están soportados: • JSON Data • YAML Data • Network diagram (nwd) • Wireframe graphical interface • Archimate diagram • Specification Language (SDL) • Ditaa diagram • Diagrama de Gantt • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram Los diagramas son0 码力 | 531 页 | 7.53 MB | 2 年前3
PlantUML 1.2021.1 Guía de Referencia del Lenguaje# Diagramando UML con PlantUML  #### Guía de Referencia del Lenguaje PlantUML (Version 1.2021.1) PlantUML es un proyecto de Estados • Timing diagram Los siguientes diagramas no-UML también están soportados: • JSON Data • Network diagram (nwd) • Wireframe graphical interface • Archimate diagram • Specification and Language (SDL) • Ditaa diagram • Diagrama de Gantt • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram Los diagramas son0 码力 | 384 页 | 4.07 MB | 2 年前3
PlantUML 1.2019.3 Guide de référence du langage# Dessiner de l'UML avec PlantUML  #### Guide de référence du langage PlantUML (Version 1.2019.3) PlantUML est un composant d'objet • diagrammes de déploiement • diagrammes de temps Certains autres diagrammes (hors UML) sont aussi possibles: • maquette d'interface graphique • diagrammes Archimate • Specification f27d5c6dd7e6623/p8_2.jpg) ### 1.10 Regrouper les messages (cadres UML) Il est possible de regrouper les messages dans un cadre UML à l'aide d'un des mot clés suivants: • alt/else • opt • loop0 码力 | 160 页 | 1.72 MB | 2 年前3
Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.4)# Drawing UML with PlantUML  #### PlantUML Language Reference Guide (Version 1.2019.4) PlantUML is a component that allows Sequence diagram • Usecase diagram • Class diagram • Activity diagram • Component diagram • State diagram • Object diagram • Deployment diagram • Timing diagram The following non-UML diagrams graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt diagram • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath0 码力 | 167 页 | 1.83 MB | 2 年前3
共 902 条
- 1
- 2
- 3
- 4
- 5
- 6
- 91













