( mutable: MutableGraph<N, E, T>, nodeIndex: NodeIndex )
| 2698 | * @since 3.18.0 |
| 2699 | */ |
| 2700 | export const removeNode = <N, E, T extends Kind = "directed">( |
| 2701 | mutable: MutableGraph<N, E, T>, |
| 2702 | nodeIndex: NodeIndex |
| 2703 | ): void => { |
| 2704 | const impl = getMutableImplForMutation(mutable) |
| 2705 | if (removeNodeInternal(impl, nodeIndex)) { |
| 2706 | invalidateCycleFlagOnRemoval(impl) |
| 2707 | } |
| 2708 | } |
| 2709 | |
| 2710 | /** |
| 2711 | * Removes multiple nodes and all their incident edges from a mutable graph. |
nothing calls this directly
no test coverage detected