...
The following diagram shows some basic features of ZenUML Sequence Diagram. If you are looking for a full syntax specification go to https://zenuml.atlassian.net/wiki/spaces/Doc/pages/518848513/Sequence+diagram+syntax.
Zenuml sequence macro | ||||||
---|---|---|---|---|---|---|
| ||||||
@Lambda OrderController
<<BFF>> OrderService
group BusinessService {
PurchaseService
InvoiceService
}
//`POST /orders`
OrderController.create(payload) {
OrderService.create(payload) {
order = new Order(payload)
par {
PurchaseService.createPO(order)
InvoiceService.createInvoice(order)
}
}
} |
Generic Diagrams
You can also use the “ZenUML Graph” component to draw any generic diagrams. This is done throw an integration with the opensource drawio project.
Zenuml graph macro | ||||
---|---|---|---|---|
|
Mermaid
The following diagrams show some features of the mermaid component. The document of mermaid can be found here.
...
Zenuml sequence macro | ||||
---|---|---|---|---|
| ||||
@Lambda OrderController <<BFF>> OrderService group BusinessService { PurchaseService InvoiceService } //`POST /orders` OrderController.create(payload) { OrderService.create(payload) { order = new Order(payload) par { PurchaseService.createPO(order) InvoiceService.createInvoice(order) } } } |
...