fix: render snake vs flow edge animations correctly

edges/index.tsx was never committed — both animation modes were
rendering as snake (truthy string check). Now uses animMode to
distinguish 'snake' (moving blob) from 'flow' (continuous flowing dashes).
This commit is contained in:
Pouzor
2026-03-29 15:18:19 +02:00
parent f9c8e37de3
commit e4c0d820f4
2 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export interface ApiEdge {
speed?: string | null
custom_color?: string | null
path_style?: string | null
animated?: boolean
animated?: boolean | 'snake' | 'flow' | 'none'
source_handle?: string | null
target_handle?: string | null
}