graph-builder
Version:
A graph builder library for modeling abstract graph structures.
19 lines (12 loc) • 577 B
Markdown
[Home](./index) > [graph-builder](./graph-builder.md) > [GraphConnections](./graph-builder.graphconnections.md) > [removeSuccessor](./graph-builder.graphconnections.removesuccessor.md)
# GraphConnections.removeSuccessor method
Remove `node` from the set of successors. Returns the value previously associated with the edge connecting the two nodes.
**Signature:**
```javascript
removeSuccessor(node: N): V | undefined;
```
**Returns:** `V | undefined`
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| `node` | `N` | |