The calculation of the graph's bounds now works correctly when there are
no nodes at all in the graph or no already positioned nodes.