Versions Compared

Key

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

We assume you have already tried out the editing experience via our online editor. If you have not, we strongly suggest you try it out first.

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.

Sequence Diagram

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
uuidac904a3a-d92f-4674-bc51-3ff083758c3e
customContentId376340482
updatedAt2021-07-25T05:38: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)      
    }
  }
}

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
uuid26671782-781c-4b57-9b15-4c92a2122222
customContentId376471557
updatedAt2021-07-25T05:38:46Z

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
customContentId376340492
updatedAt2021-07-25T05:38:57Z
@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

...

uuidb4e54356-e7f8-4512-947a-dd16706d92d2
updatedAt2021-03-14T00:16:40Z

...

CreateEntity.get(){

createEntity()

}

User.get(){

name;

}