Skip to content

Commit 0261f3b

Browse files
committed
Merge branch 'develop' of https://github.com/nexent-hub/nexent into develop
2 parents 80b555b + 1146e1f commit 0261f3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/app/[locale]/setup/agents/components/agent/AgentCallRelationshipModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ const NODE_H = 60;
2727
/* ================== New/Adjusted: Unified dimensions and compact layout (minimal changes) ================== */
2828
const AGENT_W = 160; // Agent unified width
2929
const AGENT_H = 56; // Agent unified height
30-
const TOOL_SIZE = 86; // Tool gear unified diameter
30+
const TOOL_SIZE = 100; // Tool gear unified diameter
3131
const TOOL_TEETH = 10; // Number of teeth (more rounded)
3232
const TOOL_TEETH_DEPTH_RATIO = 0.085; // Teeth depth ratio
3333

34-
const MAX_TOOL_NAME_CHARS = 10; // Maximum display characters for tool names
34+
const MAX_TOOL_NAME_CHARS = 24; // Maximum display characters for tool names
3535

3636
const TREE_DEPTH_FACTOR = 120; // More compact layer spacing
37-
const TREE_SEP_SIB = 1.15;
38-
const TREE_SEP_NON = 1.35;
37+
const TREE_SEP_SIB = 1.5; // Minimum spacing between sibling nodes
38+
const TREE_SEP_NON = 1.8; // Minimum spacing between non-sibling nodes
3939

4040
/* Simple and stable code point truncation (compatible with basic emoji scenarios) */
4141
function truncateByCodePoints(s: string, max: number) {

0 commit comments

Comments
 (0)