Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(app): increase padding on graph lod

dextmorgn05bdd37ee633
diff --git a/flowsint-app/src/components/sketches/graph/node-renderer.ts b/flowsint-app/src/components/sketches/graph/node-renderer.ts
index f6809427..2d469ace 100644
--- a/flowsint-app/src/components/sketches/graph/node-renderer.ts
+++ b/flowsint-app/src/components/sketches/graph/node-renderer.ts
@@ -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