Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jusolo/labelWise/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This page documents the constant values used for configuration and constraints in labelWise. These constants control annotation behavior, grid display, and default settings.Annotation Constants
MIN_BOX_SIZE
constants.ts
- Enforced during drawing (boxes smaller than this are discarded)
- Enforced during resizing (boxes cannot be resized below this dimension)
- Referenced in CSV validation
number
Value: 8 pixels
GRID_SIZE
constants.ts
- Controls the background grid pattern size in draw mode
- Displayed when the “Guía” (Grid Guide) toggle is enabled
number
Value: 32 pixels
GRID_SIZE
constants.ts
- Controls the background grid pattern size in draw mode
- Displayed when the “Guía” (Grid Guide) toggle is enabled
number
Value: 32 pixels
DEFAULT_LABELS
constants.ts
string[]
Value: [] (empty array)
UI Style Constants
SELECT_BASE_CLASS
constants.ts
- Applied to label selection dropdowns
- Provides consistent styling across the UI
SELECT_COMPACT_CLASS
constants.ts
- Applied to label selection in the CSV table editor
- Provides a smaller, space-efficient styling
Related Documentation
- Annotations - How MIN_BOX_SIZE affects annotation creation
- Canvas Controls - How GRID_SIZE affects the grid overlay
- CSV Format - How constants are used in validation