Initial commit

This commit is contained in:
libertyspy
2026-02-09 19:53:17 +08:00
parent 579d0f2bd8
commit 35fd1c8937
9 changed files with 546 additions and 37 deletions

View File

@@ -13,10 +13,10 @@ export const defaultHeight: Record<string, number> = {
component: 110,
};
export const createGraphTaskElement = (element: GraphTaskElement, width: number = 160, height: number = 100): any => {
export const createGraphTaskElement = (element: GraphTaskElement, width: number = 250, height: number = 120): any => {
let realHeight = defaultHeight[element.category as string];
if (!realHeight) {
realHeight = 100;
realHeight = 120;
}
return {
shape: 'task',