github.com/informationsea/shellflow@v0.1.3/examples/doc-example1/build.dot (about)

     1  digraph shelltask {
     2    node [shape=box];
     3    task1 [label="cc -c -o lib1.o lib1.c # lib1.h"];
     4    task2 [label="cc -c -o lib2.o lib2.c # lib2.h"];
     5    task3 [label="cc -c -o main.o main.c # lib1.h lib2.h"];
     6    task4 [label="cc -o program lib1.o lib2.o main.o"];
     7    input0 [label="lib1.c", color=red];
     8    input0 -> task1;
     9    input1 [label="lib1.h", color=red];
    10    input1 -> task1;
    11    input1 -> task3;
    12    input2 [label="lib2.c", color=red];
    13    input2 -> task2;
    14    input3 [label="lib2.h", color=red];
    15    input3 -> task2;
    16    input3 -> task3;
    17    input4 [label="main.c", color=red];
    18    input4 -> task3;
    19    task1 -> task4 [label="lib1.o"];
    20    task2 -> task4 [label="lib2.o"];
    21    task3 -> task4 [label="main.o"];
    22    output1 [label="program", color=blue];
    23    task4 -> output1;
    24  }
    25