|
| 1 | +-> --> <- <-- <-> <--> |
| 2 | +->> -->> <<- <<-- <<->> <<-->> |
| 3 | +-/ --/ /- /-- /-/ /--/ |
| 4 | +-// --// //- //-- //-// //--// |
| 5 | +-\ --\ \- \-- \-\ \--\ |
| 6 | +-\\ --\\ \\- \\-- \\-\\ \\--\\ |
| 7 | + |
| 8 | + |
| 9 | +@startuml |
| 10 | +Bob ->x Alice |
| 11 | +Bob -> Alice |
| 12 | +Bob ->> Alice |
| 13 | +Bob -\ Alice |
| 14 | +Bob \\- Alice |
| 15 | +Bob //-- Alice |
| 16 | + |
| 17 | +Bob ->o Alice |
| 18 | +Bob o\\-- Alice |
| 19 | + |
| 20 | +Bob <-> Alice |
| 21 | +Bob <->o Alice |
| 22 | +@enduml |
| 23 | + |
| 24 | +@startuml |
| 25 | +Bob -[#red]> Alice : hello |
| 26 | +Alice -[#0000FF]->Bob : ok |
| 27 | +@enduml |
| 28 | + |
| 29 | +@startuml |
| 30 | +participant Alice |
| 31 | +participant Bob #lightblue |
| 32 | +Alice -> Bob |
| 33 | +Bob -> Carol |
| 34 | +... |
| 35 | +[-> Bob |
| 36 | +[o-> Bob |
| 37 | +[o->o Bob |
| 38 | +[x-> Bob |
| 39 | +... |
| 40 | +[<- Bob |
| 41 | +[x<- Bob |
| 42 | +... |
| 43 | +Bob ->] |
| 44 | +Bob ->o] |
| 45 | +Bob o->o] |
| 46 | +Bob ->x] |
| 47 | +... |
| 48 | +Bob <-] |
| 49 | +Bob x<-] |
| 50 | +@enduml |
| 51 | + |
| 52 | +@startuml |
| 53 | +?-> Alice |
| 54 | +[-> Alice |
| 55 | +[-> Bob |
| 56 | +?-> Bob |
| 57 | +Alice ->] |
| 58 | +Alice ->? |
| 59 | +Alice -> Bob |
| 60 | +@enduml |
| 61 | + |
| 62 | +@startuml |
| 63 | +(Use case 1) <.. :user: |
| 64 | +(Use case 2) <- :user: |
| 65 | +@enduml |
| 66 | + |
| 67 | +@startuml |
| 68 | +:user: -left-> (dummyLeft) |
| 69 | +:user: -right-> (dummyRight) |
| 70 | +:user: -up-> (dummyUp) |
| 71 | +:user: -down-> (dummyDown) |
| 72 | +@enduml |
| 73 | + |
| 74 | +@startuml |
| 75 | +Class11 <|.. Class12 |
| 76 | +Class13 --> Class14 |
| 77 | +Class15 ..> Class16 |
| 78 | +Class17 ..|> Class18 |
| 79 | +Class19 <--* Class20 |
| 80 | +Class21 #-- Class22 |
| 81 | +Class23 x-- Class24 |
| 82 | +Class25 }-- Class26 |
| 83 | +Class27 +-- Class28 |
| 84 | +Class29 ^-- Class30 |
| 85 | +@enduml |
| 86 | + |
| 87 | +---------------------------------------------------- |
| 88 | + |
| 89 | +[ |
| 90 | + ["arrow", ["->"]], |
| 91 | + ["arrow", ["-->"]], |
| 92 | + ["arrow", ["<-"]], |
| 93 | + ["arrow", ["<--"]], |
| 94 | + ["arrow", ["<->"]], |
| 95 | + ["arrow", ["<-->"]], |
| 96 | + |
| 97 | + ["arrow", ["->>"]], |
| 98 | + ["arrow", ["-->>"]], |
| 99 | + ["arrow", ["<<-"]], |
| 100 | + ["arrow", ["<<--"]], |
| 101 | + ["arrow", ["<<->>"]], |
| 102 | + ["arrow", ["<<-->>"]], |
| 103 | + |
| 104 | + ["arrow", ["-/"]], |
| 105 | + ["arrow", ["--/"]], |
| 106 | + ["arrow", ["/-"]], |
| 107 | + ["arrow", ["/--"]], |
| 108 | + ["arrow", ["/-/"]], |
| 109 | + ["arrow", ["/--/"]], |
| 110 | + |
| 111 | + ["arrow", ["-//"]], |
| 112 | + ["arrow", ["--//"]], |
| 113 | + ["arrow", ["//-"]], |
| 114 | + ["arrow", ["//--"]], |
| 115 | + ["arrow", ["//-//"]], |
| 116 | + ["arrow", ["//--//"]], |
| 117 | + |
| 118 | + ["arrow", ["-\\"]], |
| 119 | + ["arrow", ["--\\"]], |
| 120 | + ["arrow", ["\\-"]], |
| 121 | + ["arrow", ["\\--"]], |
| 122 | + ["arrow", ["\\-\\"]], |
| 123 | + ["arrow", ["\\--\\"]], |
| 124 | + |
| 125 | + ["arrow", ["-\\\\"]], |
| 126 | + ["arrow", ["--\\\\"]], |
| 127 | + ["arrow", ["\\\\-"]], |
| 128 | + ["arrow", ["\\\\--"]], |
| 129 | + ["arrow", ["\\\\-\\\\"]], |
| 130 | + ["arrow", ["\\\\--\\\\"]], |
| 131 | + |
| 132 | + ["delimiter", "@startuml"], |
| 133 | + |
| 134 | + "\r\nBob ", |
| 135 | + ["arrow", ["->x"]], |
| 136 | + " Alice\r\nBob ", |
| 137 | + ["arrow", ["->"]], |
| 138 | + " Alice\r\nBob ", |
| 139 | + ["arrow", ["->>"]], |
| 140 | + " Alice\r\nBob ", |
| 141 | + ["arrow", ["-\\"]], |
| 142 | + " Alice\r\nBob ", |
| 143 | + ["arrow", ["\\\\-"]], |
| 144 | + " Alice\r\nBob ", |
| 145 | + ["arrow", ["//--"]], |
| 146 | + " Alice\r\n\r\nBob ", |
| 147 | + ["arrow", ["->o"]], |
| 148 | + " Alice\r\nBob ", |
| 149 | + ["arrow", ["o\\\\--"]], |
| 150 | + " Alice\r\n\r\nBob ", |
| 151 | + ["arrow", ["<->"]], |
| 152 | + " Alice\r\nBob ", |
| 153 | + ["arrow", ["<->o"]], |
| 154 | + " Alice\r\n", |
| 155 | + |
| 156 | + ["delimiter", "@enduml"], |
| 157 | + |
| 158 | + ["delimiter", "@startuml"], |
| 159 | + |
| 160 | + "\r\nBob ", |
| 161 | + ["arrow", [ |
| 162 | + "-", |
| 163 | + ["punctuation", "["], |
| 164 | + ["expression", [ |
| 165 | + ["color", "#red"] |
| 166 | + ]], |
| 167 | + ["punctuation", "]"], |
| 168 | + ">" |
| 169 | + ]], |
| 170 | + " Alice ", |
| 171 | + ["punctuation", ":"], |
| 172 | + " hello\r\nAlice ", |
| 173 | + ["arrow", [ |
| 174 | + "-", |
| 175 | + ["punctuation", "["], |
| 176 | + ["expression", [ |
| 177 | + ["color", "#0000FF"] |
| 178 | + ]], |
| 179 | + ["punctuation", "]"], |
| 180 | + "->" |
| 181 | + ]], |
| 182 | + "Bob ", |
| 183 | + ["punctuation", ":"], |
| 184 | + " ok\r\n", |
| 185 | + |
| 186 | + ["delimiter", "@enduml"], |
| 187 | + |
| 188 | + ["delimiter", "@startuml"], |
| 189 | + ["keyword", "participant"], |
| 190 | + " Alice\r\n", |
| 191 | + ["keyword", "participant"], |
| 192 | + " Bob ", |
| 193 | + ["color", "#lightblue"], |
| 194 | + "\r\nAlice ", |
| 195 | + ["arrow", ["->"]], |
| 196 | + " Bob\r\nBob ", |
| 197 | + ["arrow", ["->"]], |
| 198 | + " Carol\r\n", |
| 199 | + ["punctuation", "..."], |
| 200 | + ["arrow", ["[->"]], |
| 201 | + " Bob\r\n", |
| 202 | + ["arrow", ["[o->"]], |
| 203 | + " Bob\r\n", |
| 204 | + ["arrow", ["[o->o"]], |
| 205 | + " Bob\r\n", |
| 206 | + ["arrow", ["[x->"]], |
| 207 | + " Bob\r\n", |
| 208 | + ["punctuation", "..."], |
| 209 | + ["arrow", ["[<-"]], |
| 210 | + " Bob\r\n", |
| 211 | + ["arrow", ["[x<-"]], |
| 212 | + " Bob\r\n", |
| 213 | + ["punctuation", "..."], |
| 214 | + "\r\nBob ", |
| 215 | + ["arrow", ["->]"]], |
| 216 | + "\r\nBob ", |
| 217 | + ["arrow", ["->o]"]], |
| 218 | + "\r\nBob ", |
| 219 | + ["arrow", ["o->o]"]], |
| 220 | + "\r\nBob ", |
| 221 | + ["arrow", ["->x]"]], |
| 222 | + ["punctuation", "..."], |
| 223 | + "\r\nBob ", |
| 224 | + ["arrow", ["<-]"]], |
| 225 | + "\r\nBob ", |
| 226 | + ["arrow", ["x<-]"]], |
| 227 | + ["delimiter", "@enduml"], |
| 228 | + |
| 229 | + ["delimiter", "@startuml"], |
| 230 | + ["arrow", ["?->"]], " Alice\r\n", |
| 231 | + ["arrow", ["[->"]], " Alice\r\n", |
| 232 | + ["arrow", ["[->"]], " Bob\r\n", |
| 233 | + ["arrow", ["?->"]], " Bob\r\nAlice ", ["arrow", ["->]"]], |
| 234 | + "\r\nAlice ", ["arrow", ["->?"]], |
| 235 | + "\r\nAlice ", ["arrow", ["->"]], " Bob\r\n", |
| 236 | + ["delimiter", "@enduml"], |
| 237 | + |
| 238 | + ["delimiter", "@startuml"], |
| 239 | + |
| 240 | + ["punctuation", "("], |
| 241 | + "Use case 1", |
| 242 | + ["punctuation", ")"], |
| 243 | + ["arrow", ["<.."]], |
| 244 | + ["punctuation", ":"], |
| 245 | + "user", |
| 246 | + ["punctuation", ":"], |
| 247 | + |
| 248 | + ["punctuation", "("], |
| 249 | + "Use case 2", |
| 250 | + ["punctuation", ")"], |
| 251 | + ["arrow", ["<-"]], |
| 252 | + ["punctuation", ":"], |
| 253 | + "user", |
| 254 | + ["punctuation", ":"], |
| 255 | + |
| 256 | + ["delimiter", "@enduml"], |
| 257 | + |
| 258 | + ["delimiter", "@startuml"], |
| 259 | + |
| 260 | + ["punctuation", ":"], |
| 261 | + "user", |
| 262 | + ["punctuation", ":"], |
| 263 | + ["arrow", ["-left->"]], |
| 264 | + ["punctuation", "("], |
| 265 | + "dummyLeft", |
| 266 | + ["punctuation", ")"], |
| 267 | + |
| 268 | + ["punctuation", ":"], |
| 269 | + "user", |
| 270 | + ["punctuation", ":"], |
| 271 | + ["arrow", ["-right->"]], |
| 272 | + ["punctuation", "("], |
| 273 | + "dummyRight", |
| 274 | + ["punctuation", ")"], |
| 275 | + |
| 276 | + ["punctuation", ":"], |
| 277 | + "user", |
| 278 | + ["punctuation", ":"], |
| 279 | + ["arrow", ["-up->"]], |
| 280 | + ["punctuation", "("], |
| 281 | + "dummyUp", |
| 282 | + ["punctuation", ")"], |
| 283 | + |
| 284 | + ["punctuation", ":"], |
| 285 | + "user", |
| 286 | + ["punctuation", ":"], |
| 287 | + ["arrow", ["-down->"]], |
| 288 | + ["punctuation", "("], |
| 289 | + "dummyDown", |
| 290 | + ["punctuation", ")"], |
| 291 | + |
| 292 | + ["delimiter", "@enduml"], |
| 293 | + |
| 294 | + ["delimiter", "@startuml"], |
| 295 | + |
| 296 | + "\r\nClass11 ", |
| 297 | + ["arrow", ["<|.."]], |
| 298 | + " Class12\r\nClass13 ", |
| 299 | + ["arrow", ["-->"]], |
| 300 | + " Class14\r\nClass15 ", |
| 301 | + ["arrow", ["..>"]], |
| 302 | + " Class16\r\nClass17 ", |
| 303 | + ["arrow", ["..|>"]], |
| 304 | + " Class18\r\nClass19 ", |
| 305 | + ["arrow", ["<--*"]], |
| 306 | + " Class20\r\nClass21 ", |
| 307 | + ["arrow", ["#--"]], |
| 308 | + " Class22\r\nClass23 ", |
| 309 | + ["arrow", ["x--"]], |
| 310 | + " Class24\r\nClass25 ", |
| 311 | + ["arrow", ["}--"]], |
| 312 | + " Class26\r\nClass27 ", |
| 313 | + ["arrow", ["+--"]], |
| 314 | + " Class28\r\nClass29 ", |
| 315 | + ["arrow", ["^--"]], |
| 316 | + " Class30\r\n", |
| 317 | + |
| 318 | + ["delimiter", "@enduml"] |
| 319 | +] |
0 commit comments