Collapse canvas around diagram

Is there some easy way to size a canvas so that it will be the minimum size that contains all the elements? I’ve been doing this manually by entering numeric dimensions in the inspector, but it can be a chore doing it that way when the contents are changing. I vaguely remember something like “collapse canvas around diagram”. But, I have a feeling I might be thinking of a different program.