cerebrate/webroot/js/node_modules/mermaid/dist/diagrams/flowchart/elk/render-utils.d.ts

6 lines
213 B
TypeScript
Raw Normal View History

2023-10-05 11:00:51 +02:00
export interface TreeData {
parentById: Record<string, string>;
childrenById: Record<string, string[]>;
}
export declare const findCommonAncestor: (id1: string, id2: string, treeData: TreeData) => string;