From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Creating a (RabbitMQ) diagram Date: Thu, 17 Oct 2019 15:21:24 +0200 Message-ID: References: <87h847lhvj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000ab56605951b195d" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35047) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5io-0005L2-Tq for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 09:21:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL5in-0000S0-M3 for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 09:21:42 -0400 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]:35372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL5in-0000Rm-HD for emacs-orgmode@gnu.org; Thu, 17 Oct 2019 09:21:41 -0400 Received: by mail-oi1-x229.google.com with SMTP id x3so2132965oig.2 for ; Thu, 17 Oct 2019 06:21:41 -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 --0000000000000ab56605951b195d 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. > I tried it out (after a bit of configuring) with the following: #+BEGIN_SRC plantuml :file groupingComponents.eps :noexport @startuml package "Some Group" { HTTP - [First Component] [Another Component] } node "Other Groups" { FTP - [Second Component] [First Component] --> FTP } cloud { [Example 1] } database "MySql" { folder "This is my folder" { [Folder 3] } frame "Foo" { [Frame 4] } } [Another Component] --> [Example 1] [Example 1] --> [Folder 3] [Folder 3] --> [Frame 4] @enduml #+END_SRC It looks a bit different, but I will not worry about it at the moment. Is it best to save it as eps, or better another format? (When using it with LaTeX.) -- Cecil Westerhof --0000000000000ab56605951b195d 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.

I tried it out = (after a bit of configuring) with the following:
#+BEGIN_SRC plantuml :f= ile groupingComponents.eps :noexport
@startuml

package "Some= Group" {
=C2=A0 HTTP - [First Component]
=C2=A0 [Another Compon= ent]
}
=C2=A0
node "Other Groups" {
=C2=A0 FTP - [Sec= ond Component]
=C2=A0 [First Component] --> FTP
}

cloud {<= br>=C2=A0 [Example 1]
}


database "MySql" {
=C2= =A0 folder "This is my folder" {
[Folder 3]
=C2=A0 }
= =C2=A0 frame "Foo" {
[Frame 4]
=C2=A0 }
}


[A= nother Component] --> [Example 1]
[Example 1] --> [Folder 3]
[F= older 3] --> [Frame 4]

@enduml
#+END_SRC


=
It= looks a bit different, but I will not worry about it at the moment.
<= div style=3D"font-family:courier new,monospace" class=3D"gmail_default">
Is it best to save it as eps, or better another format? (When using it= with LaTeX.)

--
Cecil Westerhof
--0000000000000ab56605951b195d--