MCPcopy
hub / github.com/markmap/markmap / IMarkmapState

Interface IMarkmapState

packages/markmap-view/src/types.ts:3–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { INode } from 'markmap-common';
2
3export interface IMarkmapState {
4 id: string;
5 data?: INode;
6 highlight?: INode;
7 rect: {
8 x1: number;
9 x2: number;
10 y1: number;
11 y2: number;
12 };
13}
14
15/**
16 * Portable options that can be derived into `IMarkmapOptions`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected