(
rootOrientation: Orientation,
location: number[]
)
| 185 | } |
| 186 | |
| 187 | export function getLocationOrientation( |
| 188 | rootOrientation: Orientation, |
| 189 | location: number[] |
| 190 | ): Orientation { |
| 191 | return location.length % 2 === 0 |
| 192 | ? orthogonal(rootOrientation) |
| 193 | : rootOrientation; |
| 194 | } |
| 195 | |
| 196 | export interface IViewSize { |
| 197 | width?: number; |
no test coverage detected
searching dependent graphs…