#124 new
bahuvrihi

ascii workflows

Reported by bahuvrihi | October 22nd, 2008 @ 10:58 AM

It seems possible to write out an ascii graphic for simple joins:


[1]-o-[1]-o-[1]-o-[1]-o-[1]-+-[1]-?-[1]
          |-[1]   [1]-o [1]-+     |-[1]
          `-[1]   [1]-o [1]-+     `-[1]
  seq       fork  merge sync_merge  switch

I think the best approach would be to work through the graph as a 2-D array assigning a number for the character that goes in it. You would need to correct for the number of characters in the name of each task.

Comments and changes to this ticket

  • bahuvrihi

    bahuvrihi December 19th, 2008 @ 02:39 PM

    Something similar in audit output is possible in theory, but not really recommended

    
    
    o-[] Sequence a
    o-[] Sequence b
    o-[] Sequence c
    |
    | o-[]
    | o-[]
    | o-[]
    | |
    `-`-o-[]  Merge
        o-[]
        o-[]
        |
        |---------o-[] Fork a
        |         o-[]
        |         o-[]
        |         |
        |----o-[] Fork b
        |    o-[] 
        |    |
        o-[] Fork c
        o-[] 
        o-[] 
        |    |    |
        +----+----+----o-[]  Sync Merge
                       o-[]
                       o-[]
                       |
                       ?----o-[] Switch a
                       |    o-[] 
                       |    
                       o-[]  Switch b
    
  • bahuvrihi

    bahuvrihi December 19th, 2008 @ 02:44 PM

    Staggered Left

    
    o-[0,0] Sequence a
    o-[0,1] Sequence b
    o-[0,2] Sequence c
    |
    | o-[1,0]
    | o-[1,1]
    | o-[1,2]
    | |
    `-`-o-[2,0]  Merge
        o-[2,1]
        o-[2,2]
        |
        |-o-[3,0] Fork a
        | o-[3,1]
        | o-[3,2]
        | |
        |---o-[4,0] Fork b
        | | o-[4,1] 
        | | |
        `-----o-[5,0] Fork c
          | | o-[5,1] 
          | | o-[5,2] 
          | | |
          `-`-`--o-[6,0] Merge
                       o-[6,1]
                       o-[6,2]
    

    Staggered right

    
    o-[0,0] Sequence a
    o-[0,1] Sequence b
    o-[0,2] Sequence c
    |
    | o-[1,0]
    | o-[1,1]
    | o-[1,2]
    | |
    `-`-o-[2,0]  Merge
        o-[2,1]
        o-[2,2]
        |
        |---o-[3,0] Fork a
        |   o-[3,1]
        |   o-[3,2]
        |   |
        |-o-[4,0] Fork b
        | o-[4,1] 
        | | |
        o-[5,0] Fork c
        o-[5,1] 
        o-[5,2] 
        | | |
        `-`-`----o-[6,0] Merge
                       o-[6,1]
                       o-[6,2]
    

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for making configurable, file-based tasks and workflows.

People watching this ticket

Tags

Pages