We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cd1130 + 00a2a72 commit 9987792Copy full SHA for 9987792
app/components/code-graph.tsx
@@ -382,7 +382,7 @@ export function CodeGraph({
382
chartNode.select()
383
chartNode.style({ display: "element" })
384
setIsSelectedObj(String(n.id))
385
- const layout = { ...LAYOUT, padding: 250 }
+ const layout = { ...LAYOUT, padding: chart.width() / 5 }
386
chartNode.layout(layout).run()
387
setSearchNode(n)
388
}
0 commit comments