mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-08 16:49:38 +02:00
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into knsv/mindmap-refactoring
This commit is contained in:
5
packages/mermaid-layout-elk/src/find-common-ancestor.d.ts
vendored
Normal file
5
packages/mermaid-layout-elk/src/find-common-ancestor.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface TreeData {
|
||||
parentById: Record<string, string>;
|
||||
childrenById: Record<string, string[]>;
|
||||
}
|
||||
export declare const findCommonAncestor: (id1: string, id2: string, { parentById }: TreeData) => string;
|
Reference in New Issue
Block a user