Adjustable viewport size for graph layout