Skip to main content

mind-elixir.nodeobj

Home > mind-elixir > NodeObj

NodeObj type

MindElixir node object

Signature:

export type NodeObj = {
topic: string;
id: Uid;
style?: {
fontSize?: string;
color?: string;
background?: string;
fontWeight?: string;
};
children?: NodeObj[];
tags?: string[];
icons?: string[];
hyperLink?: string;
expanded?: boolean;
direction?: number;
root?: boolean;
image?: {
url: string;
width: number;
height: number;
};
branchColor?: string;
parent?: NodeObj;
dangerouslySetInnerHTML?: string;
};

References: NodeObj