emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to place things differently in dot
@ 2015-03-26 12:14 Cecil Westerhof
  2015-03-26 15:52 ` e.fraga
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Cecil Westerhof @ 2015-03-26 12:14 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1117 bytes --]

I was asked to make a diagram and was thinking that dot in org-mode could
be a good idea.

I got reasonably fast the following:
​    #+BEGIN_SRC dot :file test.svg :cmdline -Kdot -Tsvg
    graph {
      utilities [label = "Utility's"]

      A
      B
      C

      D
      E
      F [shape = rectangle]


      subgraph cluster_resources {
        color=blue
        resources [label = "Resources"]
      }

      G
      H
      I

      K
      subgraph cluster_ta {
        color=blue
        {rank = same; L, M}
        L
        M
      }

      {rank = same; D, E, F}


      A -- F
      B -- F
      C -- F
      A -- D

      F -- E

      F -- K
      F -- G
      F -- H
      F -- I


      K -- L
      K -- M
      L -- M
    }
    #+END_SRC

This is a good deal in the right direction, but a few things should be
different:
​- E should be left of F
- resource should go to the second 'line' without losing its border
- K should be a 'line' lower

Are those things possible?

As attachment how it looks now.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 2240 bytes --]

[-- Attachment #2: test.png --]
[-- Type: image/png, Size: 30676 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-03-27  9:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 12:14 How to place things differently in dot Cecil Westerhof
2015-03-26 15:52 ` e.fraga
2015-03-26 16:07   ` Ken Mankoff
2015-03-26 16:57     ` Cecil Westerhof
2015-03-26 17:32       ` Cecil Westerhof
2015-03-26 17:00 ` Thomas S. Dye
2015-03-26 17:09   ` Cecil Westerhof
2015-03-26 20:27 ` Nick Dokos
2015-03-26 21:27   ` Cecil Westerhof
2015-03-26 21:49     ` Nick Dokos
2015-03-26 22:19       ` Cecil Westerhof
2015-03-27  6:57         ` Cecil Westerhof
2015-03-27  9:29           ` Cecil Westerhof
2015-03-26 21:59     ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).