From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: process diagrams with dot and some glue using org Date: Fri, 19 Jul 2013 18:23:57 +0100 Message-ID: <87vc46ea4y.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0EPW-0002MM-0B for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 13:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0EPU-00021Q-RW for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 13:24:05 -0400 Received: from co9ehsobe004.messaging.microsoft.com ([207.46.163.27]:33206 helo=co9outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0EPU-00021B-K6 for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 13:24:04 -0400 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: Karl Voit , emacs-orgmode@gnu.org Dear Karl, a couple of weeks ago you developed some code to convert a pair of tables to a graphviz digraph and you wrote a very useful Worg page about it: http://article.gmane.org/gmane.emacs.orgmode/74280 http://orgmode.org/worg/org-tutorials/org-dot-diagrams.html I have today had a real need for this so I copied the code and used it. Worked like a charm! Thanks for doing this. I just wanted to say two things about it: 1. if the typical use case is to use the code with #+call:, it would be more helpful to delete the #+header: line in the source code in the Worg page. This header line presumes that the particular tables in your first example exist. Deleting this line means that the code can only be used via a #+call statement but I think this is more logical. 2. I appended a column to my node table with a description of each node. You've written your code so that it doesn't care if there are extra columns. This is a bonus! My table not only provides the data for the graph but also explains the graph to a reader. Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.6-341-g338603