@fougere/graph
Fougere's graph: a labelled directed multigraph, and the four questions asked of it — order, cycles, components, reach. Zero dependencies.
Entries: @fougere/graph
What you import
| name | |
|---|---|
Graph | A labelled directed multigraph, read both ways, in the order its nodes were added. |
Types
TypeScript types only — they do not run. Import them with import type to type your own code: a variable, a parameter, an option object.
| name | |
|---|---|
Ordering | What an order places, and what no order can: a cycle and every node waiting on one. |
Edge |