UNPKG

mind-elixir

Version:

Mind elixir is a free open source mind map core.

18 lines (17 loc) 876 B
import type { Arrow } from '../arrow'; import type { Summary } from '../summary'; import type { MindElixirInstance } from '../types'; import type { CustomSvg } from '../types/dom'; export declare const svgNS = "http://www.w3.org/2000/svg"; export declare const createPath: (d: string, color: string, width: string) => SVGPathElement; export declare const createLinkSvg: (klass: string) => SVGSVGElement; export declare const createLine: () => SVGLineElement; export declare const createSvgGroup: (d: string, arrowd1: string, arrowd2: string, style?: { stroke?: string; strokeWidth?: string | number; strokeDasharray?: string; strokeLinecap?: "butt" | "round" | "square"; opacity?: string | number; labelColor?: string; }) => CustomSvg; export declare const editSvgText: (mei: MindElixirInstance, textEl: SVGTextElement, node: Summary | Arrow) => void;