pan/bi: Add the control flow graph