*
*
*
*/
private DisplayIndependentDimension getMinimumDistance(InternalNode[] entitiesToLayout) {
DisplayIndependentDimension horAndVertdistance = new DisplayIndependentDimension(Double.MAX_VALUE, Double.MAX_VALUE);
double minDistance = Double.MAX_VALUE; // the minimum distance between all the nodes
//TODO: Very Slow!
for (int i = 0; i < entitiesToLayout.length; i++) {
InternalNode layoutEntity1 = entitiesToLayout[i];
double x1 = layoutEntity1.getInternalX();