graph-builder
Version:
A graph builder library for modeling abstract graph structures.
13 lines (8 loc) • 396 B
Markdown
[Home](./index) > [graph-builder](./graph-builder.md) > [BaseGraph](./graph-builder.basegraph.md) > [nodes](./graph-builder.basegraph.nodes.md)
# BaseGraph.nodes method
Returns all nodes in this graph, in the order specified by [BaseGraph.nodeOrder](./graph-builder.basegraph.nodeorder.md)<!-- -->.
**Signature:**
```javascript
nodes(): Set<N>;
```
**Returns:** `Set<N>`