Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/workflow/nodes/intent-classify-node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class IntentModel extends AppNodeModel {
anchors.push({
x: x + width / 2 - 10,
y: showNode
? y - height / 2 + FORM_ITEMS_HEIGHT + index *41.3
? y - height / 2 + FORM_ITEMS_HEIGHT + index *41.36
: y - 15,
id: `${id}_${element.id}_right`,
type: 'right'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided code snippet shows a correction on line 58 where 41.3 has been replaced with 41.36. This change appears to be an attempt to improve precision, possibly in determining positioning for form items relative to the nodes.

Here's a summary of my feedback:

No major irregularities or serious issues were identified in this code review. However, I've noted that replacing `41.3` with `41.36` might slightly adjust the positions. If accuracy is critical, you might want to verify this change further or use more precise calculations if needed. Keep up good work!

Feel free to ask if you need any additional clarification or have other concerns!

Expand Down
Loading