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.
...
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 |
---|
uuid | 26671782-781c-4b57-9b15-4c92a2122222 |
---|
updatedAt | 2021-03-14T00:42:14Z |
---|
|
Mermaid
The following diagrams show some features of the mermaid component. The document of mermaid can be found here.
Flow chart
Zenuml sequence macro |
---|
uuid | 575626b8-9529-4ecb-87fc-de275204f9f6 |
---|
updatedAt | 2021-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 Code Block |
---|
@Lambda <<Class>> NewIndexerServiceImpl
NewIndexerServiceImpl.process() {
par {
MongoDBService.getAssetDataById()
{
DBProcessException.create
{
return
}
return
}
Zee5Collection.create
{
return
}
fetchAndPrepareSolrDoc
{
MongoDBService.getTvShowLicensingDetails()
{
DBProcessException.create
{
return
}
return
}
prepareLisencData
getNonNullArrayListOfString
SolrService.sendMsgToThumbnailSqs()
{
PurchaseServiceQueueMessagePublisher.createPOsendMsgToThumbnailSqs(order)
InvoiceService.createInvoice(order){
publish{
QueueProcessException.queueProcessException()
{
return
}
}
ErrorLog.getErrorDesc
{
return
}
return
}
} |
Class diagram
Zenuml sequence macro |
---|
uuid | 52a22a51-be80-458b-ad2f-16e024f24e13 |
---|
updatedAt | 2021-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 return
}
setVideoRelatedTags
setRelatedTags
getNumFoundFromSolrByQuery
{
ErrorLog.getErrorDesc
{
return
}
}
getNumFoundFromSolrByQuery
{
ErrorLog.getErrorDesc
{
return
}
return
}
getNumFoundFromSolrByQuery
{
ErrorLog.getErrorDesc
{
return
}
}
MongoDBService.getTvShowLicensingDetails
{
PurchaseService.createPO(order) DBProcessException.dBProcessException
{
InvoiceService.createInvoice(order) return
}
return
}
} |
State diagram
Zenuml sequence macro |
---|
uuid | b4e54356-e7f8-4512-947a-dd16706d92d2 |
---|
updatedAt | 2021-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
MongoDBService.getTvShowLicensingDetails
{
DBProcessException.dBProcessException
{
return
}
return
}
MongoDBService.getSeasonDetails
{
DBProcessException.dBProcessException
{
return
}
return
}
MongoDBService.getChannelDetailById(assetId)
{
PurchaseService.createPO(order) DBProcessException.dBProcessException
{
return
}
return
}
setContentPartnerRelatedTags(zee5MainCollection, asset)
prepareLanguageSpecificData(assetId, asset, zee5MainCollection)
{
InvoiceService.createInvoice(ordergetNonNullArrayListOfString(asset, "tags")
}
}
}
}
|