@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
GraphA 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
OrderingWhat an order places, and what no order can: a cycle and every node waiting on one.
Edge
Built with Fougere and Nuxt, hosted on GitHub Pages.