Add a frame graph