Add agent types example to readme and library page [#36]
This commit is contained in:
parent
a60d8fb0cb
commit
ddd51ba166
18
README.md
18
README.md
|
@ -160,6 +160,8 @@ A <- ]: Profit!
|
||||||
title "My Multiline
|
title "My Multiline
|
||||||
Title"
|
Title"
|
||||||
|
|
||||||
|
begin Foo, Bar
|
||||||
|
|
||||||
note over Foo: "Also possible\nwith escapes"
|
note over Foo: "Also possible\nwith escapes"
|
||||||
|
|
||||||
Foo -> Bar: "Lines of text\non this arrow"
|
Foo -> Bar: "Lines of text\non this arrow"
|
||||||
|
@ -251,6 +253,22 @@ Foo -> Bar
|
||||||
Bar -> Baz
|
Bar -> Baz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Agent Types
|
||||||
|
|
||||||
|
<img src="screenshots/AgentTypes.png" alt="Agent Types preview" width="200" align="right" />
|
||||||
|
|
||||||
|
```
|
||||||
|
begin User, Application, PostgreSQL
|
||||||
|
|
||||||
|
User -> +Application
|
||||||
|
Application -> +PostgreSQL
|
||||||
|
-PostgreSQL --> Application
|
||||||
|
-Application --> User
|
||||||
|
|
||||||
|
User is a person
|
||||||
|
PostgreSQL is a database
|
||||||
|
```
|
||||||
|
|
||||||
### Asynchronous Communication
|
### Asynchronous Communication
|
||||||
|
|
||||||
<img src="screenshots/AsynchronousCommunication.png" alt="Asynchronous Communication preview" width="200" align="right" />
|
<img src="screenshots/AsynchronousCommunication.png" alt="Asynchronous Communication preview" width="200" align="right" />
|
||||||
|
|
17
library.htm
17
library.htm
|
@ -284,6 +284,8 @@ A <- ]: Profit!
|
||||||
title "My Multiline
|
title "My Multiline
|
||||||
Title"
|
Title"
|
||||||
|
|
||||||
|
begin Foo, Bar
|
||||||
|
|
||||||
note over Foo: "Also possible\nwith escapes"
|
note over Foo: "Also possible\nwith escapes"
|
||||||
|
|
||||||
Foo -> Bar: "Lines of text\non this arrow"
|
Foo -> Bar: "Lines of text\non this arrow"
|
||||||
|
@ -380,6 +382,21 @@ Bar -> Baz
|
||||||
</pre>
|
</pre>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h3 id="AgentTypes">Agent Types</h3>
|
||||||
|
<pre class="example" data-lang="sequence">
|
||||||
|
begin User, Application, PostgreSQL
|
||||||
|
|
||||||
|
User -> +Application
|
||||||
|
Application -> +PostgreSQL
|
||||||
|
-PostgreSQL --> Application
|
||||||
|
-Application --> User
|
||||||
|
|
||||||
|
User is a person
|
||||||
|
PostgreSQL is a database
|
||||||
|
</pre>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h3 id="AsynchronousCommunication">Asynchronous Communication</h3>
|
<h3 id="AsynchronousCommunication">Asynchronous Communication</h3>
|
||||||
<pre class="example" data-lang="sequence">
|
<pre class="example" data-lang="sequence">
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 45 KiB |
Loading…
Reference in New Issue