Graph width is dynamic, layout params refactoring