graph: Show generated dirs differently from regular dirs.
Added t4142, t4143, t4144 - generated dir failure cases.

If we try to output to a different directory that is occupied by a normal/generated file, or becomes a normal/generated file, we should fail to parse.