resized graph