A discrete Schrödinger operator on a graph