Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix: search text in values

AykutSarac945cf15e335c
diff --git a/src/features/editor/views/GraphView/CustomNode/ObjectNode.tsx b/src/features/editor/views/GraphView/CustomNode/ObjectNode.tsx
index e13a495b..bd87e928 100644
--- a/src/features/editor/views/GraphView/CustomNode/ObjectNode.tsx
+++ b/src/features/editor/views/GraphView/CustomNode/ObjectNode.tsx
@@ -22,7 +22,12 @@ const Row = ({ row, x, y, index }: RowProps) => {
};
return (
- <Styled.StyledRow $value={row.value} data-key={row.key} data-x={x} data-y={y + rowPosition}>
+ <Styled.StyledRow
+ $value={row.value}
+ data-key={`${row.key}: ${row.value}`}
+ data-x={x}
+ data-y={y + rowPosition}
+ >
<Styled.StyledKey $type="object">{row.key}: </Styled.StyledKey>
<TextRenderer>{getRowText()}</TextRenderer>
</Styled.StyledRow>