graph-builder
Version:
A graph builder library for modeling abstract graph structures.
21 lines (13 loc) • 552 B
Markdown
[Home](./index) > [graph-builder](./graph-builder.md) > [MutableGraph](./graph-builder.mutablegraph.md) > [removeNode](./graph-builder.mutablegraph.removenode.md)
# MutableGraph.removeNode method
Removes `node` if it is present; all edges incident to `node` will also be removed.
**Signature:**
```javascript
removeNode(node: N): boolean;
```
**Returns:** `boolean`
`true` if the graph was modified as a result of this call
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| `node` | `N` | |