ng2-qgrid
Version:
Angular Grid
10 lines (8 loc) • 598 B
TypeScript
import { Node } from './node';
import { Model } from '../infrastructure/model';
export declare function preOrderDFS(nodes: Node[], visit: (node: Node, memo: any, parent: Node | null, index: number) => any, memo: any): any;
export declare function findLeaves(node: Node): Node[];
export declare function find(node: Node, test: (node: Node) => boolean): { node: Node, parent: Node, index: number, path: Node[] } | null;
export declare function calk(node: Node): Node;
export declare function bend(line: Node[]): Node;
export declare function filter(node: Node, test: (node: Node) => boolean): Node;