From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Business process diagrams in org-mode Date: Sat, 13 Nov 2010 21:08:11 -0600 Message-ID: References: <87bp5sacnf.fsf@bunting.net.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0332005423==" Return-path: Received: from [140.186.70.92] (port=60000 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHSxx-0001tt-5v for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 22:10:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHSwv-0000HL-GC for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 22:09:01 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:51332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHSwv-0000HD-4D for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 22:08:13 -0500 Received: by bwz16 with SMTP id 16so4386445bwz.0 for ; Sat, 13 Nov 2010 19:08:12 -0800 (PST) In-Reply-To: <87bp5sacnf.fsf@bunting.net.au> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bart Bunting Cc: emacs-orgmode@gnu.org --===============0332005423== Content-Type: multipart/alternative; boundary=001636c596ff3ab9ba0494faa207 --001636c596ff3ab9ba0494faa207 Content-Type: text/plain; charset=ISO-8859-1 Hi Bart, I think should be possible. I'm probably not the one but I think the PGF TikZ package should work out alright. Eric Fraga from this mailing list created a gantt chart in TikZ from a table and it makes me think that this should definitely be possible. You could define some block shapes before hand and tell TikZ what shape/color to make the node diagram based on the table perhaps? Here's a link where Eric provided his code: http://article.gmane.org/gmane.emacs.orgmode/31824 The code was based of this TikZ mailing list code: http://osdir.com/ml/tex.pgf.user/2007-07/msg00007.html Hope that helps a little. Eric might be able to advise a bit further? I don't know that I'd say anything off the shelf exists, but perhaps in looking at his code it could be done. I don't know the elisp well enough to help you further. Good luck! John On Sat, Nov 13, 2010 at 7:59 PM, Bart Bunting wrote: > 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 > --001636c596ff3ab9ba0494faa207 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Bart,


I think should be possible. I= 9;m probably not the one but I think the PGF TikZ package should work out a= lright. Eric Fraga from this mailing list created a gantt chart in TikZ fro= m a table and it makes me think that this should definitely be possible. Yo= u could define some block shapes before hand and tell TikZ what shape/color= to make the node diagram based on the table perhaps?

Here's a link where Eric provided his code:=A0http://article.gman= e.org/gmane.emacs.orgmode/31824

The code was based of this TikZ mailing list code:=A0http://osdir.com/ml/= tex.pgf.user/2007-07/msg00007.html

Hope that helps a little. Eric might be able to advise a bi= t further? I don't know that I'd say anything off the shelf exists,= but perhaps in looking at his code it could be done. I don't know the = elisp well enough to help you further.


Good luck!
John

On Sat, Nov 13, 2010 at 7:59 PM, Bart Bunting <bart@bunting.net.au= > wrote:
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. =A0I 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. =A0It 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 descisi= on
points causing the flow to branch to another point. =A0I thought that if we had something like the following it may be possible to generate a
diagram.



| Step =A0 =A0 =A0 =A0| Description =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 | Next Steps =A0 =A0 =A0 |
|-------------+------------------------------------------------------------= -------------+------------------|
| Begin =A0 =A0 =A0 | Begin the process =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | = Choice1 =A0 =A0 =A0 =A0 =A0|
| Choice1 =A0 =A0 | Decide if we are big or small. =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| Big,Small =A0 = =A0 =A0 =A0|
| Big =A0 =A0 =A0 =A0 | If we are big then do big things =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| End =A0 = =A0 =A0 =A0 =A0 =A0 =A0|
| Small =A0 =A0 =A0 | If we are small then figure out if we are really smal= l or possibly big. | ReallySmall, Big |
| ReallySmall | Yes we are really small =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | End =A0 =A0 = =A0 =A0 =A0 =A0 =A0|
| End =A0 =A0 =A0 =A0 | The end. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
|-------------+------------------------------------------------------------= -------------+------------------|


This would represent a process where we start, make a choice if we are big = or small. =A0If we are big we do big things and end. =A0If we are small we = make =A0a choice if we are really small or actually big. =A0If we decide we= are actualy big then we go back to the big step. =A0If not we go on to the= end.


Anyway just thought I'd ask in case someone had a suggestion how this c= ould 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

--001636c596ff3ab9ba0494faa207-- --===============0332005423== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0332005423==--