When developing a graphical editor there are two options when creating a canvas:
- a canvas that has a constant size
- a canvas that can be re-sized by adding figures at the edge of the canvas, or by moving existing figures to a location outside the canvas (which causes it to resize).
On the one hand, letting the user decide the where to put his figures and letting him re-size the diagram gives him more power, but the drawback is that the user can create very large and complex diagrams that are then impossible to understand. The problem with constant sized diagrams is that their size is probably dependent on the size (and orientation) of the screen used by the user.
So basically, what is the best option? and if the best option is a static sized canvas, how should I calculate the size?