1. Added the graph loading function to utils
2. Integrated loading states and edges from XML in planner