mirror of
https://github.com/OFFIS-ESC/constellation-analyzer
synced 2026-03-13 20:18:47 +00:00
Some checks failed
CI / test (push) Has been cancelled
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.
20 lines
397 B
TypeScript
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;
|