@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
9 lines • 433 B
TypeScript
/**
* Reduce number of nodes in the graph by collapsing edges and joining neighbouring nodes
* Simplifies a graph, reducing number of edges and nodes
* @template T
* @param {Graph<MultiNode<T>>} graph
* @param {number} max_node_limit Maximum number of "source" nodes per joined node
*/
export function mn_graph_coarsen<T>(graph: Graph<MultiNode<T>>, max_node_limit: number): void;
//# sourceMappingURL=mn_graph_coarsen.d.ts.map