add graph simulation in spec