made graph2d and timeline use the same core