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 <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.  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