Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2023.11)
11) 49 / 550 2.5 Use package 2 USE CASE DIAGRAM 2.5 Use package You can use packages to group actors or use cases. @startuml left to right direction actor Guest as g package Professional { actor Chef Chef as c actor "Food Critic" as fc } package Restaurant { usecase "Eat Food" as UC1 usecase "Pay for Food" as UC2 usecase "Drink" as UC3 usecase "Review" as UC4 } fc --> UC4 g --> UC1 g --> UC2 g --> UC3 UC3 @enduml You can use rectangle to change the display of the package. @startuml left to right direction actor "Food Critic" as fc rectangle Restaurant { usecase "Eat Food" as UC1 usecase "Pay for Food"0 码力 | 551 页 | 7.79 MB | 1 年前3PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2023.11)
5 Use package You can use packages to group actors or use cases. @startuml left to right direction actor Guest as g PlantUML 언어참조가이드 (1.2023.11) 49 / 551 2.5 Use package 2 유즈케이스다이어그램 package Professional Professional { actor Chef as c actor "Food Critic" as fc } package Restaurant { usecase "Eat Food" as UC1 usecase "Pay for Food" as UC2 usecase "Drink" as UC3 usecase "Review" as UC4 } fc --> UC4 g --> UC1 UC1 g --> UC2 g --> UC3 @enduml You can use rectangle to change the display of the package. @startuml left to right direction actor "Food Critic" as fc rectangle Restaurant { usecase "Eat Food" as UC1 usecase0 码力 | 552 页 | 7.88 MB | 1 年前3PlantUML 1.2023.11 Справочное руководство по языку
можно использовать пакеты. @startuml actor as g package { actor " " as c actor " " as fc } package { usecase "" as UC1 usecase "" as UC2 вида пакета можно воспользоваться ключевым словом rectangle используя ег овместо ключевого слова package. @startuml left to right direction actor " " as fc rectangle { usecase \n \n @enduml Also note that names starting with “$“ are valid, but to assign an alias to such element the name must be put between quotes0 码力 | 554 页 | 7.96 MB | 1 年前3PlantUML 1.2023.11 Sprachreferenz
allows large description." @enduml 2.5 Use package You can use packages to group actors or use cases. PlantUML Sprachreferenz (1.2023.11) 45 / 528 2.5 Use package 2 ANWENDUNGSFALL-DIAGRAMM @startuml left left to right direction actor Guest as g package Professional { actor Chef as c actor "Food Critic" as fc } package Restaurant { usecase "Eat Food" as UC1 usecase "Pay for Food" as UC2 usecase "Drink" as --> UC4 g --> UC1 g --> UC2 g --> UC3 @enduml You can use rectangle to change the display of the package. @startuml left to right direction actor "Food Critic" as fc rectangle Restaurant { usecase "Eat0 码力 | 529 页 | 7.46 MB | 1 年前3PlantUML 1.2023.11 Guía de Referencia del Lenguaje
as g package Professional { Guía de Referencia del Lenguaje PlantUML (1.2023.11) 46 / 530 2.5 Utilice el paquete 2 DIAGRAMA DE CASOS DE USO actor Chef as c actor "Food Critic" as fc } package Restaurant class1 class class2 as "It works this way too" class2 *-- "foo/dummy" : use @enduml Also note that names starting with “$“ are valid, but to assign an alias to such element the name must be put between quotes les correspondan: Character Icon for field Icon for method Visibility - private # protected ~ package private + public @startuml class Dummy { -field1 #field2 ~method1() +method2() } @enduml Puedes0 码力 | 531 页 | 7.53 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.9)
corresponding item: Character Icon for field Icon for method Visibility - private # protected ~ package private + public @startuml class Dummy { -field1 #field2 ~method1() +method2() } @enduml You define a package using the package keyword, and optionally declare a background color for your package (Using a html color code or name). Note that package definitions can be nested. @startuml package "Classic ArrayList } PlantUML Language Reference Guide (1.2019.9) 45 / 174 3.17 Packages style 3 CLASS DIAGRAM package net.sourceforge.plantuml { Object <|-- Demo1 Demo1 *- Demo2 } @enduml 3.17 Packages style There0 码力 | 175 页 | 1.95 MB | 1 年前3PlantUML 1.2023.11 Guide de référence du langage
And you can add titles: ..Conclusion.. This allows large description." @enduml 2.5 Utiliser un package Vous pouvez utiliser des packages pour regrouper des acteurs ou des cas d’utilisation @startuml 2023.11) 48 / 533 2.5 Utiliser un package 2 DIAGRAMME DE CAS D’UTILISATION actor Guest as g package Professional { actor Chef as c actor "Food Critic" as fc } package Restaurant { usecase "Eat Food" as langage PlantUML (1.2023.11) 61 / 533 3.5 Définir les méthodes 3 DIAGRAMME DE CLASSES Also note that names starting with $ are valid, but to assign an alias to such element the name must be put between quotes0 码力 | 534 页 | 7.56 MB | 1 年前3PlantUML 1.2019.9 Справочное руководство по языку
в таблице ниже: Character Icon for field Icon for method Visibility - private # protected ~ package private + public @startuml class Dummy { -field1 #field2 ~method1() +method2() } @enduml Убрать Date << (D,orchid) >> @enduml 3.16 Пакеты Вы можете определить пакет, используя ключевое слово package, с возможностью объявить ещё и цвет его фона, (используя html-код цвета или его имя). Обратите внимание 9) 43 / 172 3.17 Стили пакетов 3 ДИАГРАММА КЛАССОВ @startuml package "Classic Collections" #DDDDDD { Object <|-- ArrayList } package net.sourceforge.plantuml { Object <|-- Demo1 Demo1 *- Demo2 } @enduml0 码力 | 173 页 | 1.97 MB | 1 年前3PlantUML 1.2021.3 Language Reference Guide
allows large description." @enduml 2.5 Use package You can use packages to group actors or use cases. @startuml left to right direction actor Guest as g package Professional { actor Chef as c actor "Food "Food Critic" as fc PlantUML Language Reference Guide (1.2021.2) 43 / 415 2.5 Use package 2 USE CASE DIAGRAM } package Restaurant { usecase "Eat Food" as UC1 usecase "Pay for Food" as UC2 usecase "Drink" --> UC4 g --> UC1 g --> UC2 g --> UC3 @enduml You can use rectangle to change the display of the package. @startuml left to right direction actor "Food Critic" as fc rectangle Restaurant { usecase "Eat0 码力 | 416 页 | 4.33 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.9)
一旦你定义了域或者方法,你可以定义相应条目的可访问性质。 Character Icon for field Icon for method Visibility - private # protected ~ package private + public @startuml class Dummy { -field1 #field2 ~method1() +method2() } @enduml 你可以采用以下命令停用这些特性 >> @enduml 3.16 包 你可以通过关键词 package 声明包,同时可选的来声明对应的背景色(通过使用 html 色彩代码或名称)。 注意:包可以被定义为嵌套。 @startuml package "Classic Collections" #DDDDDD { Object <|-- ArrayList } package net.sourceforge.plantuml { scale 750 width package foo1 <> { class Class1 } package foo2 < > { class Class2 } package foo3 < > { class Class3 } package foo4 <> { class Class4 } package foo5 < > 0 码力 | 174 页 | 2.00 MB | 1 年前3
共 98 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10