graph.getBBox()
Returns the bounding box (g.Rect) that surrounds all cells in the graph. It returns nul if the graph is empty.
nul
var bbox = graph.getBBox().inflate(10);