mind-elixir.mindelixir
Home > mind-elixir > MindElixir
MindElixir class
Signature:
declare class MindElixir
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(this: MindElixirInstance, el?: Topic | undefined, node?: NodeObj<unknown> | undefined) => Promise<void> | |||
|
Alignment | |||
|
boolean | |||
|
Arrow[] | |||
|
SVGElement | |||
|
Before | |||
|
(this: MindElixirInstance, el?: Topic | undefined) => Promise<void> | |||
|
ReturnType<typeof createBus<EventMap>> | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance, compact: boolean) => void | |||
|
(this: MindElixirInstance, theme: Theme, shouldRefresh?: boolean) => void | |||
|
() => void |
(Optional) Reset the undo/redo stack and update the internal baseline snapshot to the current diagram state. Call this after loading new data into an existing instance (e.g. after Only available when | ||
|
(this: MindElixirInstance) => void | |||
|
boolean | |||
|
HTMLElement | |||
|
boolean | ContextMenuOption | |||
|
(this: MindElixirInstance, node: Topic, to: Topic) => Promise<void> | |||
|
(this: MindElixirInstance, tpcs: Topic[], to: Topic) => Promise<void> | |||
|
(this: MindElixirInstance, from: Topic, to: Topic, options?: ArrowOptions) => void | |||
|
(this: MindElixirInstance, arrow: Omit<Arrow, 'id'>) => void | |||
|
(this: MindElixirInstance, wrappers: Wrapper[]) => Children | |||
|
(this: MindElixirInstance, nodeObj: NodeObj) => { p: Parent; tpc: Topic; } | |||
|
(this: MindElixirInstance, options?: SummaryOptions) => void | |||
|
(this: MindElixirInstance, summary: Omit<Summary, 'id'>) => void | |||
|
(this: MindElixirInstance, nodeObj: NodeObj) => Topic | |||
|
(this: MindElixirInstance, nodeObj: NodeObj, omitChildren?: boolean) => { grp: Wrapper; top: Parent; tpc: Topic; } | |||
|
ArrowSvg | null | |||
|
|
Topic | null | ||
|
Topic[] | |||
|
SummarySvg | null | |||
|
|
Theme & { cssVar: ThemeCssVar; } | ||
|
(this: Partial<MindElixirInstance>) => void | |||
|
0 | 1 | 2 | 3 | |||
|
(this: MindElixirInstance) => void | |||
|
Array<() => void> | |||
|
|
(not declared) | ||
|
boolean | |||
|
Topic[] | null | |||
|
|
typeof findEle |
MindElixir E | |
|
boolean | |||
|
(this: MindElixirInstance, el: ArrowSvg) => void | |||
|
(this: MindElixirInstance, el: SummarySvg) => void | |||
|
(this: MindElixirInstance, el: Topic) => void | |||
|
HTMLElement | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance, enable: boolean) => void | |||
|
(this: MindElixirInstance, el: Topic, isExpand?: boolean) => void | |||
|
(this: MindElixirInstance, el: Topic, isExpand?: boolean) => void | |||
|
(this: MindElixirInstance, noForeignObject?: boolean, injectCss?: string) => Promise<Blob | null> | |||
|
(this: MindElixirInstance, noForeignObject?: boolean, injectCss?: string) => Blob | |||
|
(this: MindElixirInstance, id: string, el?: HTMLElement) => Topic | |||
|
(this: MindElixirInstance, el: Topic) => void | |||
|
(this: MindElixirInstance, params: MainLineParams) => string | |||
|
(this: MindElixirInstance) => NodeObjExport | |||
|
(this: MindElixirInstance, params: SubLineParams) => string | |||
|
(this: MindElixirInstance) => MindElixirData | |||
|
(this: MindElixirInstance) => string | |||
|
true | ((e: WheelEvent) => void) | |||
|
(url: string) => string |
(Optional) | ||
|
(this: MindElixirInstance, data: MindElixirData) => Error | undefined | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance, el?: Topic | undefined, node?: NodeObj<unknown> | undefined) => Promise<void> | |||
|
(this: MindElixirInstance, type: 'before' | 'after', el?: Topic | undefined, node?: NodeObj<unknown> | undefined) => Promise<void> | |||
|
(this: MindElixirInstance, plugin: (instance: MindElixirInstance) => void) => void | |||
|
boolean | |||
|
boolean | KeypressOptions | |||
|
HTMLElement | |||
|
(this: MindElixirInstance) => void | |||
|
|
(not declared) | ||
|
SVGElement | |||
|
SVGElement | |||
|
SVGElement | |||
|
SVGElement | |||
|
(this: MindElixirInstance, mainNode?: Wrapper) => void | |||
|
string | |||
|
HTMLElement | |||
|
(markdown: string, obj: NodeObj | Arrow | Summary) => string |
(Optional) | ||
|
Record<string, any> |
(Optional) | ||
|
boolean | |||
|
0 | 2 | |||
|
(this: MindElixirInstance, dx: number, dy: number, smooth?: boolean) => boolean | |||
|
(this: MindElixirInstance, el?: Topic | undefined) => Promise<void> | |||
|
(this: MindElixirInstance, from: Topic[], to: Topic) => Promise<void> | |||
|
(this: MindElixirInstance, from: Topic[], to: Topic) => Promise<void> | |||
|
(this: MindElixirInstance, from: Topic[], to: Topic) => Promise<void> | |||
|
(this: MindElixirInstance, el?: Topic | undefined) => Promise<void> | |||
|
|
(topic: string) => MindElixirData |
new MindElixir | |
|
string | |||
|
HTMLElement | |||
|
boolean | |||
|
HTMLElement | |||
|
HTMLElement | |||
|
ReturnType<typeof createPanHelper> | |||
|
(e: ClipboardEvent) => void | |||
|
number |
(Optional) | ||
|
() => void | |||
|
(this: MindElixirInstance, data?: MindElixirData) => void | |||
|
(this: MindElixirInstance, linkSvg?: ArrowSvg) => void | |||
|
(this: MindElixirInstance, tpcs: Topic[]) => Promise<void> | |||
|
(this: MindElixirInstance, id: string) => void | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance, arrow: Arrow, patchData: Partial<Arrow>) => void | |||
|
(this: MindElixirInstance, tpc: Topic, patchData: Partial<NodeObj<unknown>>) => Promise<void> | |||
|
|
(not declared) | ||
|
(this: MindElixirInstance, tpc: Topic) => Promise<void> | |||
|
HTMLElement | |||
|
(this: MindElixirInstance, scaleVal: number, offset?: { x: number; y: number; }) => void | |||
|
(this: MindElixirInstance) => void | |||
|
number | |||
|
number | |||
|
number | |||
|
number | |||
|
(this: MindElixirInstance, el: HTMLElement, forceCenter?: boolean) => void | |||
|
(this: MindElixirInstance, link: ArrowSvg) => void | |||
|
SelectionArea | |||
|
string | HTMLElement | |||
|
(this: MindElixirInstance, tpc: Topic, isNewNode?: boolean, e?: MouseEvent) => void | |||
|
(this: MindElixirInstance, tpcs: Topic[]) => void | |||
|
(this: MindElixirInstance, el: SummarySvg) => void | |||
|
(this: MindElixirInstance, el: Topic, topic: string) => Promise<void> | |||
|
|
(not declared) | ||
|
boolean | |||
|
(data: object) => string | |||
|
Summary[] | |||
|
SVGElement | |||
|
0 | 1 | 2 | 3 | null | |||
|
ResolvedTheme | |||
|
|
Theme & { cssVar: ThemeCssVar; } | ||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance) => void | |||
|
boolean | |||
|
() => void | |||
|
(this: MindElixirInstance) => void | |||
|
(this: MindElixirInstance, tpcs: Topic[]) => void | |||
|
(this: MindElixirInstance) => void | |||
|
|
string |
MindElixir |