emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Can I get a horizontal line in a component with plantuml


From: Cecil Westerhof
Subject: [O] Can I get a horizontal line in a component with plantuml
Date: Sun, 20 Oct 2019 14:45:00 +0200

Because of the way plantuml works (as far as I know), I have the following code:
@startuml

[Producer 1\nProducer 2\nProducer ...\nProducer n] as Producers

cloud {
  [Internet] as Internet1
}

node RabbitMQ #LightSteelBlue {
  [Exchange]
  [Queue 1\nQueue 2\nQueue ...\nQueue n] as Queues
}

cloud {
  [Internet] as Internet2
}

[Consumer 1\nConsumer 2\nConsumer ...\nConsumer n] as Consumers


[Producers] -> [Internet1]  : Publish
[Internet1] -> [Exchange]   : Publish
[Exchange]  -> [Queues]     : Route
[Queues]    -> [Internet2]  : Consume
[Internet2] -> [Consumers]  : Consume

@enduml

Which gives the attached graphic.

The problem is that there are four producers, queues and consumers. Is it possible to put three lines in the components to signify that?

--
Cecil Westerhof

Attachment: rabbitMQ.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]