From: Cecil Westerhof <cldwesterhof@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Placing components in plantuml
Date: Fri, 18 Oct 2019 03:04:22 +0200 [thread overview]
Message-ID: <CAG-LmmAwUpcdWxAzCBUf9SxcSegV3SyS+=eJ=WM+VOWGaFY09A@mail.gmail.com> (raw)
In-Reply-To: <CAG-LmmA18tn0r_4-WsLCrKSpDqCknY4sUZxui3OPU2LhgQOatg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2590 bytes --]
I got a reasonable result by putting the four producers/queues/consumers
into one component. But if anybody knows a better solution …
@startuml
component [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
Op do 17 okt. 2019 om 17:51 schreef Cecil Westerhof <cldwesterhof@gmail.com
>:
> Op do 17 okt. 2019 om 17:33 schreef Cecil Westerhof <
> cldwesterhof@gmail.com>:
>
>> 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
>
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 4089 bytes --]
prev parent reply other threads:[~2019-10-18 1:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG-LmmAwUpcdWxAzCBUf9SxcSegV3SyS+=eJ=WM+VOWGaFY09A@mail.gmail.com' \
--to=cldwesterhof@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.