Singularities and discontinuities of the triangle graph, as a function of an internal mass