This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
30
themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapDb.d.ts
vendored
Normal file
30
themes/blowfish/assets/lib/mermaid/diagrams/mindmap/mindmapDb.d.ts
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
import type { D3Element } from '../../mermaidAPI.js';
|
||||
import type { MindmapNode } from './mindmapTypes.js';
|
||||
declare const db: {
|
||||
readonly clear: () => void;
|
||||
readonly addNode: (level: number, id: string, descr: string, type: number) => void;
|
||||
readonly getMindmap: () => MindmapNode | null;
|
||||
readonly nodeType: {
|
||||
DEFAULT: number;
|
||||
NO_BORDER: number;
|
||||
ROUNDED_RECT: number;
|
||||
RECT: number;
|
||||
CIRCLE: number;
|
||||
CLOUD: number;
|
||||
BANG: number;
|
||||
HEXAGON: number;
|
||||
};
|
||||
readonly getType: (startStr: string, endStr: string) => number;
|
||||
readonly setElementForId: (id: number, element: D3Element) => void;
|
||||
readonly decorateNode: (decoration?: {
|
||||
class?: string;
|
||||
icon?: string;
|
||||
}) => void;
|
||||
readonly type2Str: (type: number) => "rect" | "circle" | "no-border" | "rounded-rect" | "cloud" | "bang" | "hexgon";
|
||||
readonly getLogger: () => Record<import("../../logger.js").LogLevel, {
|
||||
(...data: any[]): void;
|
||||
(message?: any, ...optionalParams: any[]): void;
|
||||
}>;
|
||||
readonly getElementById: (id: number) => any;
|
||||
};
|
||||
export default db;
|
Loading…
Add table
Add a link
Reference in a new issue