minus

abstract operator override fun minus(node: Node<T>): MutableGraph<T, W>

Returns a new Graph, with node (and every edge incident to it) removed from it.


abstract operator override fun minus(edge: Edge<T, W>): MutableGraph<T, W>

Returns a new Graph, with edge removed from it (its endpoints are kept).