Flowchart creation