package.dist.diagrams.mindmap.svgDraw.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
import type { FilledMindMapNode, MindmapDB } from './mindmapTypes.js';
import type { D3Element } from '../../types.js';
import type { MermaidConfig } from '../../config.type.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;
export declare const positionNode: (db: MindmapDB, node: FilledMindMapNode) => void;