Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You are viewing a demo page. To edit the diagrams on this page, you have to click the edit button on the top left corner.This

Sequence Diagram

The following diagram shows some basic features of ZenUML Sequence Diagram. If you are looking for a full syntaxt syntax specification go to https://zenuml.atlassian.net/wiki/spaces/Doc/pages/518848513/Sequence+diagram+syntax.

Zenuml sequence macro

Mermaid

The following diagrams show some features of the mermaid component. The document of mermaid can be found here.

Flow chart

Zenuml sequence macro
uuid575626b8-9529-4ecb-87fc-de275204f9f6
updatedAt2021-03-14T00:11:03Z
@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)      
    }
  }
}

Class diagram

Zenuml sequence macro
uuid52a22a51-be80-458b-ad2f-16e024f24e13
updatedAt2021-03-14T00:14:58Z
@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)      
    }
  }
}

State diagram

Zenuml sequence macro
uuidb4e54356-e7f8-4512-947a-dd16706d92d2
updatedAt2021-03-14T00:16:40Z
@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)      
    }
  }
}