UNPKG

663 BTypeScriptView Raw
1import type { D3Element } from '../../mermaidAPI.js';
2import type { FilledMindMapNode, MindmapDB } from './mindmapTypes.js';
3import type { MermaidConfig } from '../../config.type.js';
4/**
5 * @param db - The database
6 * @param elem - The D3 dom element in which the node is to be added
7 * @param node - The node to be added
8 * @param fullSection - ?
9 * @param conf - The configuration object
10 * @returns The height nodes dom element
11 */
12export declare const drawNode: (db: MindmapDB, elem: D3Element, node: FilledMindMapNode, fullSection: number, conf: MermaidConfig) => number;
13export declare const positionNode: (db: MindmapDB, node: FilledMindMapNode) => void;