if similar does exist in graph ensure that an edge exist