branching.adot 541 Bytes
Newer Older
Savva Golubitsky's avatar
Savva Golubitsky committed
1 2 3
digraph SIMPLEST {
    FUNCA [module=test_funcs.simplest, entry_func=increment_a_edge]
    FUNCB [module=test_funcs.simplest, entry_func=increment_b_edge]
Savva Golubitsky's avatar
Savva Golubitsky committed
4
    PRED [module=test_funcs.simplest, entry_func=true_predicate]
Savva Golubitsky's avatar
Savva Golubitsky committed
5 6 7 8 9 10 11 12 13 14 15
    
    INCR_A [predicate=PRED, function=FUNCA]
    INCR_B [predicate=PRED, function=FUNCB]
    
    __BEGIN__ -> ROOT
    ROOT ->  BR1, BR2 [morphism=(INCR_A, INCR_B)]
    BR1 -> BR1_ST [morphism=INCR_A]
    BR2 -> BR2_ST [morphism=INCR_B]
    BR1_ST, BR2_ST -> MERGE [morphism=(INCR_A, INCR_B)]
    MERGE -> __END__
}