graph_construction_example.bash 461 字节
Newer Older
Y
Yi Wang 已提交
1 2 3 4 5 6 7 8 9 10 11
cat ./graph_construction_example.dot | \
    sed 's/color=red/color=red, style=invis/g' | \
    sed 's/color=green/color=green, style=invis/g' | \
    dot -Tpng > graph_construction_example_forward_only.png

cat ./graph_construction_example.dot | \
    sed 's/color=green/color=green, style=invis/g' | \
    dot -Tpng > graph_construction_example_forward_backward.png

cat ./graph_construction_example.dot | \
    dot -Tpng > graph_construction_example_all.png