constellation-analyzer/src/constants.ts
Jan-Henrik Bruhn 094fd6d957
Some checks failed
CI / test (push) Has been cancelled
Extract rounded rectangle corner radius as a constant
Changes:
- Add ROUNDED_RECTANGLE_RADIUS = 24 to src/constants.ts
- Update RoundedRectangleShape to import and use the constant
- Update edgeUtils.ts to import and use the constant
- Ensures consistency between component rendering and edge calculations

Improves maintainability by having a single source of truth for the
rounded rectangle corner radius value.
2026-01-24 16:54:50 +01:00

20 lines
397 B
TypeScript

/**
* Application-wide constants
*/
/**
* Minimized group dimensions
*/
export const MINIMIZED_GROUP_WIDTH = 220;
export const MINIMIZED_GROUP_HEIGHT = 80;
/**
* Default actor/node dimensions (approximate)
*/
export const DEFAULT_ACTOR_WIDTH = 150;
export const DEFAULT_ACTOR_HEIGHT = 80;
/**
* Rounded rectangle corner radius (in pixels)
*/
export const ROUNDED_RECTANGLE_RADIUS = 24;