Initial commit

This commit is contained in:
libertyspy
2026-02-08 20:41:49 +08:00
parent b544391b5c
commit 58d36a3d6d
6 changed files with 17 additions and 98 deletions

View File

@@ -33,7 +33,7 @@ export interface ElementParameter {
templateType: NullableString,
}
export interface ElementPosition {
export interface GraphPosition {
x: number;
y: number;
}
@@ -48,18 +48,18 @@ export interface ElementVariable {
export interface BaseElement {
id: number;
key: string;
name: string;
type: string;
key: NullableString;
name: NullableString;
type: NullableString;
width: number;
height: number;
position: ElementPosition;
position: GraphPosition;
category: NullableString;
element?: DraggableElement;
[key: string]: unknown;
}
export interface TaskNodeRect {
export interface GraphTaskRect {
width?: number;
height?: number;
x?: number;