From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: How to place things differently in dot Date: Thu, 26 Mar 2015 07:00:47 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbB9f-0005zT-6d for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 13:01:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbB9b-0003bW-S9 for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 13:01:15 -0400 Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:34682) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YbB9b-0003Xb-FT for emacs-orgmode@gnu.org; Thu, 26 Mar 2015 13:01:11 -0400 In-Reply-To: (Cecil Westerhof's message of "Thu, 26 Mar 2015 13:14:34 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Cecil Westerhof Cc: emacs-orgmode@gnu.org Cecil Westerhof writes: > 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: > =E2=80=8B #+BEGIN_SRC dot :file test.svg :cmdline -Kdot -Tsvg > graph { > utilities [label =3D "Utility's"] > > A > B > C > > D > E > F [shape =3D rectangle] > > > subgraph cluster_resources { > color=3Dblue > resources [label =3D "Resources"] > } > > G > H > I > > K > subgraph cluster_ta { > color=3Dblue > {rank =3D same; L, M} > L > M > } > > {rank =3D 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: > =E2=80=8B- 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 a last resort, you can edit the svg file. hth, Tom --=20 Thomas S. Dye http://www.tsdye.com