From e216cf97ec380bd0cfd6e484f03adef4f2ffadd6 Mon Sep 17 00:00:00 2001 From: Dario Del Piano Date: Sat, 15 Oct 2022 13:05:43 +0100 Subject: [PATCH] #36 new interface for ExtraObject --- src/model/nodes/utils.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/model/nodes/utils.ts diff --git a/src/model/nodes/utils.ts b/src/model/nodes/utils.ts new file mode 100644 index 00000000..acbeae4a --- /dev/null +++ b/src/model/nodes/utils.ts @@ -0,0 +1,14 @@ +export interface ExtraObject { + position?: { + x: number; + y: number; + }, + boundingBox?: { + llx: number; + lly: number; + urx: number; + ury: number; + }, + isExpanded?: Boolean, + icon?: string +} \ No newline at end of file