add graph bounding box