Skip to content

@graphty/graph-io / positions / flipY

Function: flipY() ​

flipY(y): number

Defined in: positions/convert.ts:15

A y that grows downward as one that grows upward, and back: a negation that never yields -0.

Parameters ​

y ​

number

the coordinate

Returns ​

number

the flipped coordinate