digraph nestjs1 { rankdir=LR; subgraph cluster_generator { { rank=same PrintGenerator TemplateGenerator } PrintGenerator -> TemplateGenerator label="handlebars-generator" style="filled" color="#e0e0f0" } subgraph cluster_mailing_nest { subgraph cluster_generatormodule { GeneratorService -> PrintGenerator label="GeneratorModule" style="dotted" } subgraph cluster_UploadModule { { rank=same UploadService AmazonUploadService [color=dimgrey,fontcolor=dimgrey] } UploadService -> GeneratorService UploadService -> AmazonUploadService [color=dimgrey] label="UploadModule" style="dotted" } subgraph cluster_SenderModule { { rank=same SenderService AmazonSenderService [color=dimgrey,fontcolor=dimgrey] } SenderService -> AmazonSenderService [color=dimgrey] label="SenderModule" style="dotted" } label="mailing-nest" style="filled" color="#e0f0e0" } subgraph cluster_mint { subgraph cluster_MintMailingModule { MintMailingService -> UploadService MintMailingService -> SenderService label="MintMailingModule" style="dotted" } subgraph cluster_OrderService { { rank=same OrderService OrderController [shape=rectangle] } OrderController -> OrderService OrderService -> MintMailingService style="dotted" } subgraph cluster_Rest { Rest [label="..."] Rest -> MintMailingService style="dotted" } label="mint-service" style="filled" color="#f0e0e0" } }