Improves default (pref) size of the graph canvas.

The constructors that take layouts now use the layout's 'size' to set
the default preferred size of the graph canvas.