#20 Rewrite the default extent detection.

Now also `Diagram(graphics)` should get removed again.
Also made the naming a bit more consistent.