feat: add workflow helperline (#2356)

* feat: add workflow helperline

* del console

* across zoom & adjust distance
This commit is contained in:
heheer
2024-08-13 21:42:17 +08:00
committed by GitHub
parent fe9cb437e5
commit 7417de74da
6 changed files with 425 additions and 5 deletions

View File

@@ -80,3 +80,17 @@ export type SystemPluginTemplateItemType = WorkflowTemplateType & {
workflow: WorkflowTemplateBasicType;
};
export type THelperLine = {
position: number;
nodes: {
left: number;
right: number;
top: number;
bottom: number;
width: number;
height: number;
centerX: number;
centerY: number;
}[];
};