docs: public void checkConnect( SquareNode a , int indexA , SquareNode b , int indexB , double distance ) {
  		if( a.edges[indexA] != null && a.edges[indexA].distance > distance ) {
  			detachEdge(a.edges[indexA]);
  		}
  
  		if( b.edges[indexB] != null && b.edges[indexB].distance > distance ) {
  			detachEdge(b.edges[indexB]);
  		}
  
  		if( a.edges[indexA] == null && b.edges[indexB] == null) {
  			connect(a,indexA,b,indexB,distance);
  		}
  	}