graph-builder
Version:
A graph builder library for modeling abstract graph structures.
23 lines (14 loc) • 800 B
Markdown
[Home](./index) > [graph-builder](./graph-builder.md) > [MutableValueGraph](./graph-builder.mutablevaluegraph.md) > [removeEdgeConnectingEndpoints](./graph-builder.mutablevaluegraph.removeedgeconnectingendpoints.md)
# MutableValueGraph.removeEdgeConnectingEndpoints method
Removes the edge connecting `endpoints`<!-- -->, if it is present.
If this graph is directed, `endpoints` must be ordered.
**Signature:**
```javascript
removeEdgeConnectingEndpoints(endpoints: EndpointPair<N>): V | undefined;
```
**Returns:** `V | undefined`
the value previously associated with the edge connecting `endpoints`<!-- -->, or undefined if there was no such edge.
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| `endpoints` | `EndpointPair<N>` | |