added spin while loading graph