emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to place things differently in dot


From: Cecil Westerhof
Subject: Re: [O] How to place things differently in dot
Date: Fri, 27 Mar 2015 07:57:05 +0100

2015-03-26 23:19 GMT+01:00 Cecil Westerhof <address@hidden>:
2015-03-26 22:49 GMT+01:00 Nick Dokos <address@hidden>:
Cecil Westerhof <address@hidden> writes:

> ​In this way I do not get an empty column. It would be better when K
> would put between and below H and I, but I think I can live with it.​
>

Just put I after K and the subgraph.

​That works. It is even better when I put both H and I after it.

I also found a way to get resources at the correct place.

​I changed to a digraph:
    #+BEGIN_SRC dot :file test.png :cmdline -Kdot -Tpng
    digraph {
      A
      B
      C
      utilities [label = "Utility's"]
   
      D
      E
      F [shape = rectangle]
   
   
      subgraph cluster_resources {
        color=blue
        resources [label = "Resources"]
      }
   
      G
      G_ [style="invisible"]
   
      K
      subgraph cluster_ta {
        color=blue
        {rank = same; L, M}
        L
        M
      }
      H
      I
   
      {rank = same; D,  E, F}
      {rank = same; G_, K}
   
   
      A -> F
      B -> F
      C -> F
      A -> D
      utilities -> resources [style="invisible"]
   
      E -> F
   
      F -> K [dir = back]
      F -> G [dir = back]
      F -> H [dir = back]
      F -> I [dir = back]
   
      G -> G_ [style="invisible"]
   
      K -> L
      K -> M
      L -> M
    }
    #+END_SRC

There is only one problem: I see the arrowhead with:
    utilities -> resources
and:
    'G -> G_'

Is there a way to get rid of those?

--
Cecil Westerhof

Attachment: test.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]