dinamic width graph layout