From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Creating a (RabbitMQ) diagram Date: Thu, 17 Oct 2019 16:01:37 +0200 Message-ID: References: <87h847lhvj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b979fb05951ba865" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42241) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL6Li-0004Tt-4Q for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 10:01:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL6Lg-0005bX-Vw for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 10:01:54 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]:38124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL6Lg-0005bP-A9 for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 10:01:52 -0400 Received: by mail-oi1-x22f.google.com with SMTP id m16so2231799oic.5 for ; Thu, 17 Oct 2019 07:01:52 -0700 (PDT) In-Reply-To: <87h847lhvj.fsf@gmail.com> 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 --000000000000b979fb05951ba865 Content-Type: text/plain; charset="UTF-8" Op do 17 okt. 2019 om 13:40 schreef Ken Mankoff : > > On 2019-10-17 at 13:12 +02, PICCA Frederic-Emmanuel < > frederic-emmanuel.picca@synchrotron-soleil.fr> wrote... > > https://en.wikipedia.org/wiki/PGF/TikZ > > Or you can do it with Ditaa, http://plantuml.com, others that may be > easier to use than TikZ. > It is not perfect, but for the moment good enough: #+BEGIN_SRC plantuml :file rabbitMQ.eps :noexport @startuml [Producer] cloud { [Internet] as Internet1 } node RabbitMQ { [Exchange] [Queue] } cloud { [Internet] as Internet2 } [Consumer] [Producer] -> [Internet1] : Publish [Internet1] -> [Exchange] : Publish [Exchange] -> [Queue] : Route [Queue] -> [Internet2] : Consume [Internet2] -> [Consumer] : Consume @enduml #+END_SRC -- Cecil Westerhof --000000000000b979fb05951ba865 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Op do 17 okt. 2019 om 13:40 schreef Ken Mankoff <mankoff@gmail.com>:

On 2019-10-17 at 13:12 +02, PICCA Frederic-Emmanuel <frederic-em= manuel.picca@synchrotron-soleil.fr> wrote...
> https://en.wikipedia.org/wiki/PGF/TikZ

Or you can do it with Ditaa, http://plantuml.com, others that may be easier t= o use than TikZ.

It is not perfect, but for th= e moment good enough:
#+BEGIN_SRC plantuml :file rabbitMQ.eps :noexport<= br>@startuml

[Producer]

cloud {
=C2=A0 [Internet] as Inter= net1
}

node RabbitMQ {
=C2=A0 [Exchange]
=C2=A0 [Queue]
= }

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

[Consumer]<= br>

[Producer] =C2=A0-> [Internet1] : Publish
[Internet1] ->= ; [Exchange] =C2=A0: Publish
[Exchange] =C2=A0-> [Queue] =C2=A0 =C2= =A0 : Route
[Queue] =C2=A0 =C2=A0 -> [Internet2] : Consume
[Intern= et2] -> [Consumer] =C2=A0: Consume

@enduml
#+END_SRC

--
Cecil Westerhof=
--000000000000b979fb05951ba865--