package.dist.diagrams.block.renderHelpers.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 { BlockDB } from './blockDB.js';
import type { Block } from './blockTypes.js';
declare function calculateBlockSize(elem: d3.Selection, block: any, db: any): Promise;
type ActionFun = typeof calculateBlockSize;
export declare function insertBlockPositioned(elem: any, block: Block, db: any): Promise;
export declare function performOperations(elem: d3.Selection, blocks: Block[], db: BlockDB, operation: ActionFun): Promise;
export declare function calculateBlockSizes(elem: any, blocks: Block[], db: BlockDB): Promise;
export declare function insertBlocks(elem: d3.Selection, blocks: Block[], db: BlockDB): Promise;
export declare function insertEdges(elem: any, edges: Block[], blocks: Block[], db: BlockDB, id: string): Promise;
export {};