All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.rendering-util.rendering-elements.nodes.d.ts Maven / Gradle / Ivy

Go to download

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

The newest version!
import { shapes } from './shapes.js';
import type { Node, NonClusterNode, ShapeRenderOptions } from '../types.js';
import type { SVGGroup } from '../../mermaid.js';
import type { D3Selection } from '../../types.js';
import type { graphlib } from 'dagre-d3-es';
type ShapeHandler = (typeof shapes)[keyof typeof shapes];
type NodeElement = D3Selection | Awaited>;
export declare function insertNode(elem: SVGGroup, node: NonClusterNode, renderOptions: ShapeRenderOptions): Promise | D3Selection>;
export declare const setNodeElem: (elem: NodeElement, node: Pick) => void;
export declare const clear: () => void;
export declare const positionNode: (node: ReturnType) => any;
export {};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy