From 365d994d10905dc773a8f88ef99583ce1e3aebfd Mon Sep 17 00:00:00 2001 From: VijayalakshmiSF4471 <164475295+VijayalakshmirSF4471@users.noreply.github.com> Date: Thu, 19 Dec 2024 18:03:26 +0530 Subject: [PATCH] feature(405222): removed unused variables --- .../workflow-diagram/workflow-diagram.component.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/app/components/workflow-diagram/workflow-diagram.component.ts b/src/app/components/workflow-diagram/workflow-diagram.component.ts index 48106a0..312501f 100644 --- a/src/app/components/workflow-diagram/workflow-diagram.component.ts +++ b/src/app/components/workflow-diagram/workflow-diagram.component.ts @@ -42,8 +42,6 @@ export class WorkflowDiagramComponent implements AfterViewInit { public chatWorkflowBlockTypeEnum = ChatWorkflowBlockTypeEnum; // public data: RuleData[] = RULE_DATA; public data: RuleData2[] = RULE_DATA3; - public nodes: NodeModel[] = []; - public connectors: ConnectorModel[] = []; public closeOnDocumentClick: boolean = true; public sidebarInput: string = ''; public ddlFields: Object = { text: 'label', value: 'value' }; @@ -147,11 +145,8 @@ export class WorkflowDiagramComponent implements AfterViewInit { height: 150 + (buttonCount * 25), addInfo: item }; - this.nodes.push(nodedata); this.diagram.addNode(nodedata); - console.log("Nodes: ", item.id); - // Create connectors from success_rule_id if (item['successRuleId']) { var connectorData = { @@ -160,7 +155,6 @@ export class WorkflowDiagramComponent implements AfterViewInit { targetID: `node${item['successRuleId']}`, // annotations: [{ content: 'success', alignment: 'Center'}] }; - this.connectors.push(connectorData); this.diagram.addConnector(connectorData); } // if (item.branchDetails) {