From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Business process diagrams in org-mode Date: Sat, 13 Nov 2010 16:51:15 -1000 Message-ID: <2153EDFE-A958-4ADD-BB99-054B152A46FD@tsdye.com> References: <87bp5sacnf.fsf@bunting.net.au> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0991786567==" Return-path: Received: from [140.186.70.92] (port=43837 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHSgj-0004bY-87 for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 21:51:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHSgf-0005jm-D5 for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 21:51:29 -0500 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:35153) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PHSgf-0005jd-1y for emacs-orgmode@gnu.org; Sat, 13 Nov 2010 21:51:25 -0500 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 --===============0991786567== Content-Type: multipart/alternative; boundary=Apple-Mail-47-10746387 --Apple-Mail-47-10746387 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Aloha Bart, On Nov 13, 2010, at 3: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 This is certainly possible. Eric Fraga has generated GANTT charts from an Org-mode table. His approach uses an emacs-lisp helper function to convert the table to tikz code, and also a LaTeX stylesheet to define some tikz elements. A similar approach might work for you. Eric's post to the list is here: http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00553.html hth, Tom > _______________________________________________ > 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 --Apple-Mail-47-10746387 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Aloha = Bart,

On Nov 13, 2010, at 3: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 =             &n= bsp;           &nbs= p;            =             &n= bsp;          | Next = Steps =       |
|-------------+------------------= -------------------------------------------------------+------------------= |
| Begin       | Begin the process =             &n= bsp;           &nbs= p;            =             &n= bsp;    | Choice1 =          |
| Choice1 =     | Decide if we are big or small. =             &n= bsp;           &nbs= p;            =     | Big,Small =        |
| Big =         | If we are big then do = big things =             &n= bsp;           &nbs= p;            =   | End =             &n= bsp;|
| Small       | If we are small = then figure out if we are really small or possibly big. | ReallySmall, = Big |
| ReallySmall | Yes we are really small =             &n= bsp;           &nbs= p;            =            | End =             &n= bsp;|
| End         | The = end. =             &n= bsp;           &nbs= p;            =             &n= bsp;           &nbs= p; | =             &n= bsp;    |
|-------------+--------------------------= -----------------------------------------------+------------------|

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

This=  is certainly possible.  Eric Fraga has=  generated GANTT charts from an Org-mode&nbs= p;table.  His approach uses an emacs-lisp&nb= sp;helper function to convert the table to&n= bsp;tikz code, and also a LaTeX stylesheet&n= bsp;to define some tikz elements.  A si= milar approach might work for you.

=
Eric's post to the list is here:<= /div>
hth,
Tom
_______________________________________________
Emac= s-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
<= br>
= --Apple-Mail-47-10746387-- --===============0991786567== 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 --===============0991786567==--