flow graph