High-performance WebAssembly graph algorithms - cycle detection, DAG operations, path finding, topological sort.
npm install @affectively/wasm-graph-algorithmsbash
npm install @affectively/wasm-graph-algorithms
`
Quick Start
`typescript
import init, { detect_cycles, find_path, topological_sort } from '@affectively/wasm-graph-algorithms';
await init();
// Cycle detection
const hasCycle = detect_cycles(graph);
// Path finding
const path = find_path(graph, start, end);
// Topological sort
const sorted = topological_sort(dag);
``