#5237 pass useRough to note & group nodes

This commit is contained in:
Ashish Jain 2024-05-10 14:14:17 +02:00
parent 4c0b8f6f40
commit 2f80c3a2c4
1 changed files with 2 additions and 0 deletions

View File

@ -686,6 +686,7 @@ const dataFetcher = (parent, parsedItem, diagramStates, nodes, edges, altFlag, u
domId: stateDomId(itemId, graphItemCount, NOTE),
type: newNode.type,
padding: 15, //getConfig().flowchart.padding
useRough,
};
const groupData = {
labelStyle: '',
@ -697,6 +698,7 @@ const dataFetcher = (parent, parsedItem, diagramStates, nodes, edges, altFlag, u
domId: stateDomId(itemId, graphItemCount, PARENT),
type: 'group',
padding: 0, //getConfig().flowchart.padding
useRough,
};
graphItemCount++;