emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Placing components in plantuml
@ 2019-10-17 15:33 Cecil Westerhof
  2019-10-17 15:51 ` Cecil Westerhof
  0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2019-10-17 15:33 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]

I just started working with plantuml, but I do not know how to get what I
want.
At the moment I have the following:
#+BEGIN_SRC plantuml :file Graphics/rabbitMQ.eps :noexport
@startuml

[Producer 1]
[Producer 2]
[Producer ...]
[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

It seems that going down works much better as going right.
I would like to have [Producer 2], [Producer ...] and [Producer n] below
[Producer 1] is this possible? (And the first 2 left and higher as
Internet1 and the other 2 left and lower as Internet1.)
The same with queue and consumer. But probably when I have a solution for
producer, I will also have a solution for queue and consumer.

-- 
Cecil Westerhof

[-- Attachment #2: Type: text/html, Size: 2586 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-18  1:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-17 15:33 Placing components in plantuml Cecil Westerhof
2019-10-17 15:51 ` Cecil Westerhof
2019-10-18  1:04   ` Cecil Westerhof

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).