Skip to content

Commit ce02d26

Browse files
committed
adjust sizefactor
1 parent 6a21d9b commit ce02d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/storykit/src/components/CollectionGraph/CollectionGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function CollectionGraph({
101101
const label2 = node.isRoot ? (isParent ? "Root / Parent" : "Root") : isParent ? "Parent" : "Child"
102102

103103
// Define base radius and size factor
104-
const baseRadius = 8
104+
const baseRadius = 4
105105
const sizeFactor = 0.005 // Adjust this factor as needed
106106
const circleRadius = baseRadius + (node.linkCount || 0) * sizeFactor
107107

0 commit comments

Comments
 (0)