create the flowchart of index loading