energy graph layout update