From: Bart Bunting <bart@bunting.net.au>
To: Eric S Fraga <ucecesf@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Business process diagrams in org-mode
Date: Tue, 16 Nov 2010 06:16:57 +1100 [thread overview]
Message-ID: <87fwv2z9au.fsf@bunting.net.au> (raw)
In-Reply-To: <871v6mq15z.fsf@pinto.chemeng.ucl.ac.uk>
Hi Eric,
Thanks very much for the suggestion!
I'm not familiar with dot but will invest some time to see if I can get
my head around it.
This sounds like a good solution. Perhaps just writing directly in dot
will solve my problem.
Cheers
Bart
On Mon, 15 Nov 2010 11:25:12 +0000, Eric S Fraga <ucecesf@ucl.ac.uk> wrote:
> Bart Bunting <bart@bunting.net.au> writes:
>
> > Hi All,
> >
> > This is a little bit of a vague question but was hopeing that someone
> > may have some pointers.
> >
> > I am trying to create some business processes with both textual
> > descriptions of the process in a table format with step numbers and
> > descriptions etc. I was hopeing to be able to automagicaly convert the
> > tabular format into a business process diagram.
> >
> > I was wondering if anyone has done this in the past using org-mode and
> > bable some how?
> >
> > As I am blind I can't successfully create such diagrams using drawing
> > software. It occurred to me though that it should (could) be possible
> > to create diagrams from sufficient information in a table structure.
> >
> > The diagrams are the usual flow chart style of thing with steps and descision
> > points causing the flow to branch to another point. I thought that if
> > we had something like the following it may be possible to generate a
> > diagram.
> >
> >
> >
> > | Step | Description | Next Steps |
> > |-------------+-------------------------------------------------------------------------+------------------|
> > | Begin | Begin the process | Choice1 |
> > | Choice1 | Decide if we are big or small. | Big,Small |
> > | Big | If we are big then do big things | End |
> > | Small | If we are small then figure out if we are really small or possibly big. | ReallySmall, Big |
> > | ReallySmall | Yes we are really small | End |
> > | End | The end. | |
> > |-------------+-------------------------------------------------------------------------+------------------|
> >
> >
> > This would represent a process where we start, make a choice if we are big or small. If we are big we do big things and end. If we are small we make a choice if we are really small or actually big. If we decide we are actualy big then we go back to the big step. If not we go on to the end.
> >
> >
> > Anyway just thought I'd ask in case someone had a suggestion how this could be done using org-mode.
> >
> > Cheers
> >
> > Bart
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> Bart,
>
> others have already pointed you to some code I wrote to convert tables
> into GANTT charts using tikz in LaTeX. For this problem, however, I
> would suggest that converting a table to dot format (cf. graphviz [1])
> might be more appropriate. dot will generate quite nice graphs or
> trees. tikz can do it as well but you might find it easier with dot.
>
> The one issue will be parsing your /Next Steps/ column. You might find
> it easier to have next steps be a variable number of columns, one for
> each step for a particular step with empty entries for those that don't
> have many next steps. I hope that makes some sort of sense...
>
> The table above would be converted to something like:
>
> #+begin_src dot
> digraph process {
> begin [label="Begin the process"];
> choice1 [label="Decide if we are big or small"];
>
> begin -> choice1;
>
> ...
> }
> #+end_src
>
> I can't help with this at the moment (swamped at work) unfortunately but
> have a look at my GANTT code and see if that can give you a start. I'll
> have more time in a couple of weeks hopefully.
>
> HTH,
> eric
>
> Footnotes:
> [1] http://www.graphviz.org/
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
> : using Org-mode version 7.3 (release_7.3.78.ge04ba)
--
Bart Bunting
URSYS Pty. Ltd
13 Burwood Rd. Burwood NSW 2134 Australia
Ph. +61 2 8745 2811
Fax +61 2 8745 2828
next prev parent reply other threads:[~2010-11-15 19:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-14 1:59 Business process diagrams in org-mode Bart Bunting
2010-11-14 2:51 ` Thomas S. Dye
2010-11-14 3:09 ` John Hendy
2010-11-14 3:08 ` John Hendy
2010-11-15 11:25 ` Eric S Fraga
2010-11-15 19:16 ` Bart Bunting [this message]
2010-11-16 16:35 ` Eric S Fraga
2010-11-16 18:40 ` Thomas S. Dye
2010-11-16 19:16 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fwv2z9au.fsf@bunting.net.au \
--to=bart@bunting.net.au \
--cc=emacs-orgmode@gnu.org \
--cc=ucecesf@ucl.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).