Edit diagram done and added more viewDiagram pages