export interface IHierachy { t: string; p?: any; c?: T[]; } export interface IValue extends IHierachy { v?: string; } export interface INode extends IHierachy { d?: number; v?: IValue[]; } export interface IMarkmapCreateOptions { open?: boolean; content?: string; input?: string; output?: string; }