UNPKG

@tokens-studio/graph-engine

Version:

An execution engine to handle Token Studios generators and resolvers

12 lines 399 B
/** * @packageDocumentation * This is a simplified topologic sort that does not use a graph library like graphlib which causes bloat in the bundle size */ import { Graph } from './graph.js'; /** * Note that this will fail if there are cycles in the graph * @param graph * @returns */ export declare function topologicalSort(graph: Graph): string[]; //# sourceMappingURL=topologicSort.d.ts.map