angular-mindmap
Version:
mind-map for typescript
36 lines (35 loc) • 808 B
TypeScript
export interface NodeView {
abs_x: string;
abs_y: string;
height: string;
width: string;
}
export declare class MindMapNode {
id: string;
index: any;
topic: string;
selectedType: string;
data: {
isCreated?: boolean;
};
isroot: boolean;
level: number;
parent: MindMapNode;
direction: any;
expanded: boolean;
children: Array<any>;
isCreated: boolean;
private _data;
static compare: any;
static inherited: any;
constructor(sId: any, iIndex: any, sTopic: any, oData: any, bIsRoot: any, oParent?: any, eDirection?: any, bExpanded?: any, selectedType?: any, level?: any);
show(): string;
getLocation(): {
x: string;
y: string;
};
getSize(): {
w: string;
h: string;
};
}