emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Placing components in plantuml


From: Cecil Westerhof
Subject: Re: [O] Placing components in plantuml
Date: Thu, 17 Oct 2019 17:51:41 +0200

Op do 17 okt. 2019 om 17:33 schreef Cecil Westerhof <address@hidden>:
I just started working with plantuml, but I do not know how to get what I want.

I have something that comes close:
#+BEGIN_SRC plantuml :file Graphics/rabbitMQ.eps :noexport
@startuml

[Producer 1]
[Producer 2]
[Producer ...]
[Producer n]

[Producer 1]    -[hidden]-> [Producer 2]
[Producer 2]    -[hidden]-> [Producer ...]
[Producer ...]  -[hidden]-> [Producer n]

cloud {
  [Internet] as Internet1
}

node RabbitMQ {
  [Exchange]
  [Queue 1]
  [Queue 2]
  [Queue ...]
  [Queue n]
}

cloud {
  [Internet] as Internet2
}

[Consumer 1]
[Consumer 2]
[Consumer ...]
[Consumer n]


[Producer 1]     -> [Internet1]     : Publish
' [Producer 2]     -> [Internet1]     : Publish
' [Producer ...]   -> [Internet1]     : Publish
' [Producer n]     -> [Internet1]     : Publish
[Internet1]      -> [Exchange]      : Publish
[Exchange]      --> [Queue 1]       : Route
[Exchange]      --> [Queue 2]       : Route
[Exchange]      --> [Queue ...]     : Route
[Exchange]      --> [Queue n]       : Route
[Queue 1]       --> [Internet2]     : Consume
[Queue 2]       --> [Internet2]     : Consume
[Queue ...]     --> [Internet2]     : Consume
[Queue n]       --> [Internet2]     : Consume
[Internet2]      -> [Consumer 1]    : Consume
[Internet2]      -> [Consumer 2]    : Consume
[Internet2]      -> [Consumer ...]  : Consume
[Internet2]      -> [Consumer n]    : Consume

@enduml
#+END_SRC

But as soon as I get the paths from the other producers to Internet1 out of comment, it goes horrible wrong. :'-(

--
Cecil Westerhof

reply via email to

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