2015-03-26 23:19 GMT+01:00 Cecil Westerhof <[email protected]>:
> 2015-03-26 22:49 GMT+01:00 Nick Dokos <[email protected]>:
>
>> Cecil Westerhof <[email protected]> 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