Embedding the flow graphs