Refactors project structure and event rendering

Restructures the project for better maintainability and clarity.  Adds a ManagerFactory for dependency injection and reorganizes files.

Updates event rendering logic to correctly handle overlapping events using a stack link system. The EventRendererStrategy now correctly processes and renders event overlaps, ensuring proper display. Introduces processing tracking to avoid double rendering.

Updates documentation to reflect the new structure and build process. Also implements changes to build output and event system for improved clarity.

Fixes #123
This commit is contained in:
Janus Knudsen 2025-09-09 17:15:06 +02:00
parent 72019a3d9a
commit 80ef35c42c
7 changed files with 109 additions and 296 deletions

View file

@ -66,7 +66,7 @@ export class OverlapDetector {
};
stackLinks.set(event.id as EventId, stackLink);
});
overlappingEvents.push(newEvent);
return {
overlappingEvents,
stackLinks