Skip to content

@graphty/graphty-element / catalog / camerasForMode

Function: camerasForMode() ​

camerasForMode(mode): readonly CameraDescriptor[]

Defined in: graphty-element/src/catalog/cameras.ts:83

The views that can be computed in one drawing mode, which is what a picker offers.

Parameters ​

mode ​

DrawingMode

The mode the element is drawing in.

Returns ​

readonly CameraDescriptor[]

Every view usable in that mode, the element's own first.