Skip to content

@graphty/graphty-element / index / BUILTIN_PRESETS

Variable: BUILTIN_PRESETS ​

const BUILTIN_PRESETS: readonly ["fitToGraph", "topView", "sideView", "frontView", "isometric"] = KNOWN_CAMERA_IDS

Defined in: graphty-element/src/camera/presets.ts:25

Every camera view the element ships, by name.

Superseded by session.catalog.cameras(), which carries what each view is called in plain words, which drawing modes it works in, and the views a third party registered -- none of which a list of names can say. Kept because the root entry point publishes it and a consumer may be reading it.