Skip to content

Commit e49bffb

Browse files
authored
Merge pull request #527 from FalkorDB/bump-canvas-v0.0.44
Update @falkordb/canvas dependency to version 0.0.44 and adjust linkL…
2 parents 73b6bf4 + 5a797e0 commit e49bffb

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

app/components/ForceGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface Props {
2121
onBackgroundRightClick: (event: MouseEvent) => void
2222
nodeCanvasObject: (node: GraphNode, ctx: CanvasRenderingContext2D) => void
2323
nodePointerAreaPaint: (node: GraphNode, color: string, ctx: CanvasRenderingContext2D) => void
24-
linkLineDash: (link: any) => number[] | null
24+
linkLineDash: (link: any) => number[]
2525
onZoom: () => void
2626
onEngineStop: () => void
2727
cooldownTicks: number | undefined

app/components/graphView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export default function GraphView({
247247

248248
const linkLineDash = useCallback((link: GraphLink) => {
249249
if (link.data.isPath && !link.data.isPathSelected) return [5, 5]
250-
return null
250+
return []
251251
}, [])
252252

253253
const mobileBreakpointRaw = Number(process.env.NEXT_PUBLIC_MOBILE_BREAKPOINT)

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"typecheck": "tsc --noEmit"
1111
},
1212
"dependencies": {
13-
"@falkordb/canvas": "^0.0.41",
13+
"@falkordb/canvas": "^0.0.44",
1414
"@radix-ui/react-checkbox": "^1.1.4",
1515
"@radix-ui/react-dialog": "^1.1.6",
1616
"@radix-ui/react-dropdown-menu": "^2.1.6",

0 commit comments

Comments
 (0)