Automatic Optimal Scaling

Is there a function for optimal scaling of MIS problems? I’ve used two different methods, one more efficient than the other, to eliminate spacing errors, but it would be great to define a graph, calculate the unit disk radius, and then either automatically scale the problem to optimally fit the array or generate a warning that the problem can’t fit the array.