This commit is contained in:
Benjamin Lu
2025-09-17 16:56:59 -07:00
parent ef709d1a50
commit f26d1e71d5

View File

@@ -352,8 +352,8 @@ export class LitegraphLinkAdapter {
} = {} } = {}
): void { ): void {
// Apply same defaults as original renderLink // Apply same defaults as original renderLink
const startDir = start_dir ?? LinkDirection.RIGHT const startDir = start_dir || LinkDirection.RIGHT
const endDir = end_dir ?? LinkDirection.LEFT const endDir = end_dir || LinkDirection.LEFT
// Convert flow to boolean // Convert flow to boolean
const flowBool = flow === true || (typeof flow === 'number' && flow > 0) const flowBool = flow === true || (typeof flow === 'number' && flow > 0)