Internal cohesion of ls sets in graphs