Has anyone used the graph.hasEdge function in dagre-d3/graphlib to see if an edge exists between two nodes. I'm talking about an API which takes in two arguments basically the two nodes and checks if an edge exists between the two.
My problem is that for me, this function always returns false. I tried giving it for two nodes which have an edge between the two, and it still gives me a false.(Note that, it however works when you give only one argument, basically the edge id which you had defined at the time of doing graph.addEdge(edgeid, source, destination);