From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Placing components in plantuml Date: Thu, 17 Oct 2019 17:51:41 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000483f3205951d329e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32931) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL84C-0006xi-D1 for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 11:51:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL84B-0008R0-7t for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 11:51:56 -0400 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]:42715) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL84B-0008Qt-2x for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 11:51:55 -0400 Received: by mail-oi1-x232.google.com with SMTP id i185so2555896oif.9 for ; Thu, 17 Oct 2019 08:51:55 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --000000000000483f3205951d329e Content-Type: text/plain; charset="UTF-8" Op do 17 okt. 2019 om 17:33 schreef Cecil Westerhof : > 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 --000000000000483f3205951d329e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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]
[Produc= er 2]
[Producer ...]
[Producer n]

[Producer 1] =C2=A0 =C2=A0-[= hidden]-> [Producer 2]
[Producer 2] =C2=A0 =C2=A0-[hidden]-> [Prod= ucer ...]
[Producer ...] =C2=A0-[hidden]-> [Producer n]

cloud = {
=C2=A0 [Internet] as Internet1
}

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

cloud {
=C2=A0 [Internet] as Internet2
}=

[Consumer 1]
[Consumer 2]
[Consumer ...]
[Consumer n]
<= br>
[Producer 1] =C2=A0 =C2=A0 -> [Internet1] =C2=A0 =C2=A0 : Publish=
' [Producer 2] =C2=A0 =C2=A0 -> [Internet1] =C2=A0 =C2=A0 : Publ= ish
' [Producer ...] =C2=A0 -> [Internet1] =C2=A0 =C2=A0 : Publis= h
' [Producer n] =C2=A0 =C2=A0 -> [Internet1] =C2=A0 =C2=A0 : Pub= lish
[Internet1] =C2=A0 =C2=A0 =C2=A0-> [Exchange] =C2=A0 =C2=A0 =C2= =A0: Publish
[Exchange] =C2=A0 =C2=A0 =C2=A0--> [Queue 1] =C2=A0 =C2= =A0 =C2=A0 : Route
[Exchange] =C2=A0 =C2=A0 =C2=A0--> [Queue 2] =C2= =A0 =C2=A0 =C2=A0 : Route
[Exchange] =C2=A0 =C2=A0 =C2=A0--> [Queue .= ..] =C2=A0 =C2=A0 : Route
[Exchange] =C2=A0 =C2=A0 =C2=A0--> [Queue n= ] =C2=A0 =C2=A0 =C2=A0 : Route
[Queue 1] =C2=A0 =C2=A0 =C2=A0 --> [In= ternet2] =C2=A0 =C2=A0 : Consume
[Queue 2] =C2=A0 =C2=A0 =C2=A0 --> [= Internet2] =C2=A0 =C2=A0 : Consume
[Queue ...] =C2=A0 =C2=A0 --> [Int= ernet2] =C2=A0 =C2=A0 : Consume
[Queue n] =C2=A0 =C2=A0 =C2=A0 --> [I= nternet2] =C2=A0 =C2=A0 : Consume
[Internet2] =C2=A0 =C2=A0 =C2=A0-> = [Consumer 1] =C2=A0 =C2=A0: Consume
[Internet2] =C2=A0 =C2=A0 =C2=A0->= ; [Consumer 2] =C2=A0 =C2=A0: Consume
[Internet2] =C2=A0 =C2=A0 =C2=A0-&= gt; [Consumer ...] =C2=A0: Consume
[Internet2] =C2=A0 =C2=A0 =C2=A0->= [Consumer n] =C2=A0 =C2=A0: Consume

@enduml
#+END_SRC
<= div style=3D"font-family:courier new,monospace" class=3D"gmail_default">
But as soon as I get the paths from the other producers to Internet1 o= ut of comment, it goes horrible wrong. :'-(

--
<= div dir=3D"ltr" class=3D"gmail_signature">Cecil Westerhof --000000000000483f3205951d329e--