Files
infocom-systems-design/node_modules/mermaid/dist/diagrams/mindmap/svgDraw.d.ts
2025-10-03 22:27:28 +03:00

15 lines
705 B
TypeScript

import type { FilledMindMapNode } from './mindmapTypes.js';
import type { D3Element } from '../../types.js';
import type { MermaidConfig } from '../../config.type.js';
import type { MindmapDB } from './mindmapDb.js';
/**
* @param db - The database
* @param elem - The D3 dom element in which the node is to be added
* @param node - The node to be added
* @param fullSection - ?
* @param conf - The configuration object
* @returns The height nodes dom element
*/
export declare const drawNode: (db: MindmapDB, elem: D3Element, node: FilledMindMapNode, fullSection: number, conf: MermaidConfig) => Promise<number>;
export declare const positionNode: (db: MindmapDB, node: FilledMindMapNode) => void;