feat(app): increase padding on graph lod

This commit is contained in:
dextmorgn
2025-12-02 12:24:04 +01:00
parent d6eedbfbc3
commit 05bdd37ee6

View File

@@ -18,7 +18,7 @@ interface NodeRenderParams {
}
// Helper to check if node is in viewport
const isInViewport = (node: any, ctx: CanvasRenderingContext2D, margin: number = 0): boolean => {
const isInViewport = (node: any, ctx: CanvasRenderingContext2D, margin: number = 80): boolean => {
const transform = ctx.getTransform()
const canvasWidth = ctx.canvas.width
const canvasHeight = ctx.canvas.height