get Shortest Edge
Returns shortest edge between startFrom and endWith vertexes if present; null otherwise. If onlyWeighted is false for edges without weight the defaultWeight will be used. If onlyWeighted is true the edges without weight will not be taken into account.