File size: 357 Bytes
f909d7c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import { NodeType } from "jsonc-parser";
export interface NodeData {
id: string;
text: string | [string, string][];
width: number;
height: number;
path?: string;
data: {
type: NodeType;
isParent: boolean;
isEmpty: boolean;
childrenCount: number;
};
}
export interface EdgeData {
id: string;
from: string;
to: string;
}
|