public bool ShowCoverage(bool randomize) { // find all nodes reachable from source node // (note that we must scale the maximum step cost for Subdivision) T source = FindSource(randomize); var coverage = new Coverage <T>(Graph); bool success = coverage.FindReachable(this, source, _scaleCost * 10); Locations = coverage.Nodes; Renderer.InvalidateVisual(); return(success); }