Abstract
A generalization of Robin boundary conditions leading to self-adjoint operators is developed for the second derivative operator on metric graphs with compact completion and totally disconnected boundary. Harmonic functions and their properties play an essential role.