Add a caption to the frame graph