disconnect

fun disconnect(a: A, b: A): Boolean(source)

Remove the edge from a to b if one exists. For undirected networks this also removes b -> a. Returns true if any edge was actually removed.