diff --git a/src/waldiez/containers/edges/main.tsx b/src/waldiez/containers/edges/main.tsx
index 485f004..887cf88 100644
--- a/src/waldiez/containers/edges/main.tsx
+++ b/src/waldiez/containers/edges/main.tsx
@@ -181,42 +181,3 @@ const WaldiezEdgeCommon = (props: WaldiezEdgeProps) => {
>
);
};
-
-/*
-
- {edgeNumber === "0" ? (
-
- ) : (
- edgeNumber
- )}
-
-
-
-
-
-*/
diff --git a/src/waldiez/containers/edges/modal/tabs/basic/hooks/useWaldiezEdgeBasicTab.ts b/src/waldiez/containers/edges/modal/tabs/basic/hooks/useWaldiezEdgeBasicTab.ts
index 4e47eee..460e64c 100644
--- a/src/waldiez/containers/edges/modal/tabs/basic/hooks/useWaldiezEdgeBasicTab.ts
+++ b/src/waldiez/containers/edges/modal/tabs/basic/hooks/useWaldiezEdgeBasicTab.ts
@@ -7,6 +7,9 @@ export const useWaldiezEdgeBasicTab = (props: WaldiezEdgeBasicTabProps) => {
const onDescriptionChange = (e: React.ChangeEvent) => {
onDataChange({ description: e.target.value });
};
+ const onLabelChange = (e: React.ChangeEvent) => {
+ onDataChange({ label: e.target.value });
+ };
const onClearHistoryChange = (e: React.ChangeEvent) => {
onDataChange({ clearHistory: e.target.checked });
};
@@ -85,6 +88,7 @@ export const useWaldiezEdgeBasicTab = (props: WaldiezEdgeBasicTabProps) => {
summaryRoleValue,
summaryRoleLabel,
currentSelectedChatType,
+ onLabelChange,
onDescriptionChange,
onClearHistoryChange,
onMaxTurnsChange,
diff --git a/src/waldiez/containers/edges/modal/tabs/basic/main.tsx b/src/waldiez/containers/edges/modal/tabs/basic/main.tsx
index 2670fe4..1ed02d1 100644
--- a/src/waldiez/containers/edges/modal/tabs/basic/main.tsx
+++ b/src/waldiez/containers/edges/modal/tabs/basic/main.tsx
@@ -1,4 +1,4 @@
-import { InfoLabel, NumberInput, Select } from "@waldiez/components";
+import { InfoLabel, NumberInput, Select, TextInput } from "@waldiez/components";
import { useWaldiezEdgeBasicTab } from "@waldiez/containers/edges/modal/tabs/basic/hooks";
import { WaldiezEdgeBasicTabProps } from "@waldiez/containers/edges/modal/tabs/basic/types";
@@ -12,6 +12,7 @@ export const WaldiezEdgeBasicTab = (props: WaldiezEdgeBasicTabProps) => {
summaryRoleValue,
summaryRoleLabel,
currentSelectedChatType,
+ onLabelChange,
onDescriptionChange,
onClearHistoryChange,
onMaxTurnsChange,
@@ -41,6 +42,12 @@ export const WaldiezEdgeBasicTab = (props: WaldiezEdgeBasicTabProps) => {
)}
{edgeType !== "swarm" && (
<>
+