mind-elixir
Version:
Mind elixir is a free open source mind map core.
6 lines (5 loc) • 406 B
TypeScript
import type { MindElixirInstance, NodeObj } from '../types';
import type { Topic, Wrapper } from '../types/dom';
export declare const judgeDirection: ({ map, direction }: MindElixirInstance, obj: NodeObj) => 0 | 1 | undefined;
export declare const addChildDom: (mei: MindElixirInstance, to: Topic, wrapper: Wrapper) => void;
export declare const removeNodeDom: (tpc: Topic, siblingLength: number) => void;