Initial commit
This commit is contained in:
@@ -13,10 +13,10 @@ export const defaultHeight: Record<string, number> = {
|
||||
component: 110,
|
||||
};
|
||||
|
||||
export const createGraphTaskElement = (element: GraphTaskElement, width: number = 250, height: number = 120): any => {
|
||||
export const createGraphTaskElement = (element: GraphTaskElement, width: number = 160, height: number = 100): any => {
|
||||
let realHeight = defaultHeight[element.category as string];
|
||||
if (!realHeight) {
|
||||
realHeight = 120;
|
||||
realHeight = 100;
|
||||
}
|
||||
return {
|
||||
shape: 'task',
|
||||
|
||||
Reference in New Issue
Block a user