結果 : create a flowchart based on code