add par and alt examples to index.html

This commit is contained in:
Stefan Sechelmann 2018-03-15 14:08:37 +01:00
parent 500dea182f
commit 45b81a9db9

13
dist/index.html vendored
View File

@ -30,7 +30,18 @@ Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
Bob-->Alice: Checking with John...
Alice->John: Yes... John, how are you?
alt either this
Alice->>John: Yes
else or this
Alice->>John: No
else or this will happen
Alice->John: Maybe
end
par this happens in parallel
Alice -->> Bob: Parallel message 1
and
Alice -->> John: Parallel message 2
end
</div>
<hr/>