Skip to content

arrowsToDrawables

arrowsToDrawables(a, bake?): DrawableVector[]

Defined in: core/instanced-vector.ts:196

Instanced arrowheads → one filled triangle per arrow, tip set back to the target node’s boundary. bake mirrors the Scene twin’s screen-sizeMode trick: solve in pixel space (×k) and emit ÷k, so the world-coordinate output reproduces the constant-pixel GPU render under the view’s ×k transform. The end offsets (#509) are in size units, so they add unscaled in the solve space: px at bake = k (screen), world units at bake = 1 (world).

InstancedArrowsData

number = 1

DrawableVector[]