Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.4)
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using \n. @startuml Alice->Alice: Change arrow style You can change arrow style by several ways: • add a final x to denote a lost message • use \ or / instead of < or > to • have only the bottom or top part of the arrow • repeat the0 码力 | 167 页 | 1.83 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.3)
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using \n. @startuml Alice->Alice: Change arrow style You can change arrow style by several ways: • add a final x to denote a lost message • use \ or / instead of < or > to • have only the bottom or top part of the arrow • repeat the0 码力 | 159 页 | 1.73 MB | 1 年前3PlantUML 1.2019.1 Language Reference Guide
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using \n. @startuml Alice->Alice: Change arrow style You can change arrow style by several ways: • add a final x to denote a lost message • use \ or / instead of < or > to • have only the bottom or top part of the arrow • repeat the0 码力 | 148 页 | 1.85 MB | 1 年前3PlantUML 1.2019.2 Language Reference Guide
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using \n. @startuml Alice->Alice: Change arrow style You can change arrow style by several ways: • add a final x to denote a lost message • use \ or / instead of < or > to • have only the bottom or top part of the arrow • repeat the0 码力 | 160 页 | 1.73 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.9)
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using \n. @startuml Alice->Alice: Change arrow style You can change arrow style by several ways: • add a final x to denote a lost message • use \ or / instead of < or > to have only the bottom or top part of the arrow • repeat the arrow0 码力 | 175 页 | 1.95 MB | 1 年前3PlantUML 1.2019.6 Language Reference Guide
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using \n. @startuml Alice->Alice: Change arrow style You can change arrow style by several ways: • add a final x to denote a lost message • use \ or / instead of < or > to • have only the bottom or top part of the arrow • repeat the0 码力 | 174 页 | 1.92 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2020.23)
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using . @startuml Alice->Alice: demonstrates\nmultiline \ntext @enduml 1.5 Text alignment 1.5.1 Text of response message below the arrow You can put the text of the response message below the arrow, with the skinparam responseMessageBelowArrow true0 码力 | 311 页 | 3.15 MB | 1 年前3PlantUML 1.2020.22 Language Reference Guide
1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.1 Basic examples The sequence -> is used to draw a message between two participants. Participants do not have to be explicitly declared. To have a dotted arrow "Bob()" -> Long as "This is very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message to Self A participant can send a message to itself. It is also possible to have multi-line using . @startuml Alice->Alice: demonstrates\nmultiline \ntext @enduml 1.5 Text alignment 1.5.1 Text of response message below the arrow You can put the text of the response message below the arrow, with the skinparam responseMessageBelowArrow true0 码力 | 299 页 | 3.07 MB | 1 年前3PlantUML 1.2019.6 Guide de référence du langage
SÉQUENCE 1 Diagramme de séquence 1.1 Exemples de base Le symbole -> est utilisé pour dessiner un message entre deux participants. Les participants n'ont pas besoin d'être explicitement déclarés. Pour avoir very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message à soi-même Un participant peut très bien s'envoyer un message. Il est possible de mettre un message sur plusieurs lignes grâce à \n. @startuml Alice->Alice: Autre style de flèches Vous pouvez changer les flèches de plusieurs façons : • Pour indiquer un message perdu, terminer la flèche avec x • Utiliser \ ou / à la place de < ou > pour avoir seulement la0 码力 | 174 页 | 1.91 MB | 1 年前3PlantUML 1.2019.1 Guide de référence du langage
SÉQUENCE 1 Diagramme de séquence 1.1 Exemples de base Le symbole -> est utilisé pour dessiner un message entre deux participants. Les participants n'ont pas besoin d'être explicitement déclarés. Pour avoir very\nlong" Long --> "Bob()" : ok @enduml 1.4 Message à soi-même Un participant peut très bien s'envoyer un message. Il est possible de mettre un message sur plusieurs lignes grâce à \n. @startuml Alice->Alice: Autre style de flèches Vous pouvez changer les flèches de plusieurs façons : • Pour indiquer un message perdu, terminer la flèche avec x • Utiliser \ ou / à la place de < ou > pour avoir seulement la0 码力 | 147 页 | 1.85 MB | 1 年前3
共 97 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10