MCPcopy
hub / github.com/markmap/markmap / IPureNode

Interface IPureNode

packages/markmap-common/src/types/common.ts:1–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface IPureNode {
2 /**
3 * HTML of the node content.
4 */
5 content: string;
6 /**
7 * Additional data created on transformation.
8 */
9 payload?: {
10 [key: string]: unknown;
11 /**
12 * The folding status of this node.
13 *
14 * 0 - not folded
15 * 1 - folded
16 * 2 - folded along with all its child nodes
17 */
18 fold?: number;
19 };
20 children: IPureNode[];
21}
22
23export interface INode extends IPureNode {
24 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected