@graphty/graphty-element / config / ViewMode
Type Alias: ViewMode
ViewMode = typeof
VIEW_MODE_VALUES[number]
Defined in: src/config/ViewMode.ts:16
ViewMode type definition
Defines the different viewing modes for the graph visualization:
- "2d": Orthographic camera, fixed top-down view, pan/zoom input
- "3d": Perspective camera, orbit controls, full 3D interaction
- "ar": Augmented reality mode using WebXR
- "vr": Virtual reality mode using WebXR