Flow graphs