docs: void removeReferences( Vertex remove , EdgeType type ) {
  		EdgeSet removeSet = remove.getEdgeSet(type);
  		for (int i = removeSet.size()-1; i >= 0; i--) {
  			Vertex v = removeSet.get(i).dst;
  			EdgeSet setV = v.getEdgeSet(type);
  			// remove the connection from v to 'remove'. Be careful since the connection isn't always mutual
  			// at this point
  			int ridx = setV.find(remove);
  			if( ridx != -1 )
  				setV.edges.remove(ridx);
  		}
  		removeSet.reset();
  	}