Re: [O] Creating a (RabbitMQ) diagram
Hello, "Fraga, Eric" writes: > On Thursday, 17 Oct 2019 at 15:21, Cecil Westerhof wrote: >> I tried it out (after a bit of configuring) with the following: >> >> #+BEGIN_SRC plantuml :file groupingComponents.eps :noexport > > [...] > >> It looks a bit different, but I will not worry about it at the moment. > > I use the following tools within org for eventual export to PDF via > latex: tikz, ditaa, graphviz (dot, neato, ...), & plantuml. I've even > bee known to use LaTeX's own picture environmnt. They each have > different advantages and disadvantages but all work well with org in my > opinion. so think and do I. At the moment I try to consolidate the tools I use and try to get away with tikz only. I tried to reproduce same diagrams I created with plantuml. Well, it works. But there are a lot of details in plantuml's output that you have to do manually with tikz. BTW, I just discovered that plantuml's pdf output is way different from its LaTeX output. Regards hmw
Re: [O] Creating a (RabbitMQ) diagram
On Thursday, 17 Oct 2019 at 15:21, Cecil Westerhof wrote: > I tried it out (after a bit of configuring) with the following: > > #+BEGIN_SRC plantuml :file groupingComponents.eps :noexport [...] > It looks a bit different, but I will not worry about it at the moment. I use the following tools within org for eventual export to PDF via latex: tikz, ditaa, graphviz (dot, neato, ...), & plantuml. I've even bee known to use LaTeX's own picture environmnt. They each have different advantages and disadvantages but all work well with org in my opinion. > Is it best to save it as eps, or better another format? (When using it with > LaTeX.) I would save as PDF, whenever possible. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3
Re: [O] Creating a (RabbitMQ) diagram
On 2019-10-17, at 13:12, PICCA Frederic-Emmanuel wrote: > https://en.wikipedia.org/wiki/PGF/TikZ +1 -- Marcin Borkowski http://mbork.pl
Re: [O] Creating a (RabbitMQ) diagram
Op do 17 okt. 2019 om 13:40 schreef Ken Mankoff : > > On 2019-10-17 at 13:12 +02, PICCA Frederic-Emmanuel < > frederic-emmanuel.pi...@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
Re: [O] Creating a (RabbitMQ) diagram
Op do 17 okt. 2019 om 13:40 schreef Ken Mankoff : > > On 2019-10-17 at 13:12 +02, PICCA Frederic-Emmanuel < > frederic-emmanuel.pi...@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
Re: [O] Creating a (RabbitMQ) diagram
On 2019-10-17 at 13:12 +02, PICCA Frederic-Emmanuel 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. -k.
Re: [O] Creating a (RabbitMQ) diagram
https://en.wikipedia.org/wiki/PGF/TikZ