Patch pathRenderer prototype instead of single first instance.
From patching pathRendere.drawLinkPath to
pathRenderer.constructor.prototype.drawLinkPath
Same for calculateCenterPoint
fix: store original prototype methods
- Replaced old renderLink patch with drawLinkPath patch compatible with
ComfyUI >= 1.27.1.
- Updated renderers to use {x,y} objects (startPoint/endPoint) instead
of [x,y] arrays.
- Patched calculateCenterPoint to align markers with custom paths.
- Preserved extension settings (radius, offset, curvature, shape,
enable).
BREAKING CHANGE: ExtraLinks now requires ComfyUI frontend >= 1.27.1
and is not compatible with earlier versions.