Create flowchart