summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts')
-rw-r--r--themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
new file mode 100644
index 0000000..b122751
--- /dev/null
+++ b/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/elk/render-utils.d.ts
@@ -0,0 +1,5 @@
+export interface TreeData {
+ parentById: Record<string, string>;
+ childrenById: Record<string, string[]>;
+}
+export declare const findCommonAncestor: (id1: string, id2: string, treeData: TreeData) => string;