The energy graph of the non-linear Schrödinger equation