# seankenny/fullcalendar architecture

> Architecture diagram of the GitHub repository seankenny/fullcalendar, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/seankenny/fullcalendar
- Repository: https://github.com/seankenny/fullcalendar

## Overview

FullCalendar is a jQuery event-calendar plugin, with this fork adding vertical resource views. Users initialize the plugin on a page, choose a calendar view, and interact with dates and event segments; event sources and resources provide calendar data. The graph preserves the basic, agenda, and resource view families, shared interaction/rendering facilities, localization, and the optional Google Calendar feed. Relationship evidence is limited: source excerpts show plugin initialization and resource-view composition, while other feature coverage relies on the README; uncertain wiring is omitted.

Main entry points: [`src/resource/ResourceView.js`](https://github.com/seankenny/fullcalendar/blob/v2/src/resource/ResourceView.js) (Resource Views), [`src/main.js`](https://github.com/seankenny/fullcalendar/blob/v2/src/main.js) (jQuery Plugin), [`src/gcal/gcal.js`](https://github.com/seankenny/fullcalendar/blob/v2/src/gcal/gcal.js) (Google Calendar Feed), [`src/Calendar.js`](https://github.com/seankenny/fullcalendar/blob/v2/src/Calendar.js) (Calendar)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Calendar Core"]
  node_plugin["jQuery Plugin<br/>[main.js]"]
  node_calendar["Calendar<br/>[Calendar.js]"]
  node_header["Calendar Header<br/>[Header.js]"]
  node_event_data["Event Sources<br/>[EventManager.js]"]
  node_resource_data["Resource Sources<br/>[ResourceManager.js]"]
  node_date_tools["Date Utilities<br/>[moment-ext.js]"]
  node_formatting["Date Formatting<br/>[date-formatting.js]"]
  node_defaults["Calendar Defaults<br/>[defaults.js]"]
end

subgraph group_views["Calendar Views"]
  node_basic_views["Basic Views<br/>[BasicView.js]"]
  node_month_view["Month View<br/>[MonthView.js]"]
  node_agenda_views["Agenda Views<br/>[AgendaView.js]"]
  node_resource_views["Resource Views<br/>[ResourceView.js]"]
end

subgraph group_interaction["Rendering Interaction"]
  node_basic_renderer["Basic Event Renderer"]
  node_agenda_renderer["Agenda Event Renderer"]
  node_resource_renderer["Resource Event Renderer"]
  node_day_renderer["Day Event Renderer"]
  node_selection["Selection Manager"]
  node_overlay["Overlay Manager<br/>[OverlayManager.js]"]
  node_view_base["View Base<br/>[View.js]"]
  node_coordinate_grid["Coordinate Grid<br/>[CoordinateGrid.js]"]
  node_hover["Hover Listener<br/>[HoverListener.js]"]
end

subgraph group_extensions["Data Extensions"]
  node_localization["Localization<br/>[lang.js]"]
  node_language_packs["Language Packs"]
  node_gcal["Google Calendar Feed<br/>[gcal.js]"]
end

node_page_user(("Calendar User"))
node_google_calendar(("Google Calendar"))

node_page_user -->|"initializes"| node_plugin
node_plugin -->|"creates"| node_calendar
node_resource_views -->|"calls"| node_view_base
node_resource_views -->|"uses"| node_selection
node_resource_views -->|"uses"| node_overlay
node_resource_views -->|"uses"| node_resource_renderer
node_resource_views -->|"fetches resources"| node_resource_data
node_resource_views -->|"uses"| node_coordinate_grid
node_resource_views -->|"uses"| node_hover
node_gcal -.->|"fetches feed"| node_google_calendar

click node_plugin "https://github.com/seankenny/fullcalendar/blob/v2/src/main.js"
click node_calendar "https://github.com/seankenny/fullcalendar/blob/v2/src/Calendar.js"
click node_header "https://github.com/seankenny/fullcalendar/blob/v2/src/Header.js"
click node_event_data "https://github.com/seankenny/fullcalendar/blob/v2/src/EventManager.js"
click node_resource_data "https://github.com/seankenny/fullcalendar/blob/v2/src/ResourceManager.js"
click node_basic_views "https://github.com/seankenny/fullcalendar/blob/v2/src/basic/BasicView.js"
click node_month_view "https://github.com/seankenny/fullcalendar/blob/v2/src/basic/MonthView.js"
click node_agenda_views "https://github.com/seankenny/fullcalendar/blob/v2/src/agenda/AgendaView.js"
click node_resource_views "https://github.com/seankenny/fullcalendar/blob/v2/src/resource/ResourceView.js"
click node_basic_renderer "https://github.com/seankenny/fullcalendar/blob/v2/src/basic/BasicEventRenderer.js"
click node_agenda_renderer "https://github.com/seankenny/fullcalendar/blob/v2/src/agenda/AgendaEventRenderer.js"
click node_resource_renderer "https://github.com/seankenny/fullcalendar/blob/v2/src/resource/ResourceEventRenderer.js"
click node_day_renderer "https://github.com/seankenny/fullcalendar/blob/v2/src/common/DayEventRenderer.js"
click node_selection "https://github.com/seankenny/fullcalendar/blob/v2/src/common/SelectionManager.js"
click node_overlay "https://github.com/seankenny/fullcalendar/blob/v2/src/common/OverlayManager.js"
click node_view_base "https://github.com/seankenny/fullcalendar/blob/v2/src/common/View.js"
click node_coordinate_grid "https://github.com/seankenny/fullcalendar/blob/v2/src/common/CoordinateGrid.js"
click node_hover "https://github.com/seankenny/fullcalendar/blob/v2/src/common/HoverListener.js"
click node_date_tools "https://github.com/seankenny/fullcalendar/blob/v2/src/moment-ext.js"
click node_formatting "https://github.com/seankenny/fullcalendar/blob/v2/src/date-formatting.js"
click node_defaults "https://github.com/seankenny/fullcalendar/blob/v2/src/defaults.js"
click node_localization "https://github.com/seankenny/fullcalendar/blob/v2/src/lang.js"
click node_language_packs "https://github.com/seankenny/fullcalendar/tree/v2/lang"
click node_gcal "https://github.com/seankenny/fullcalendar/blob/v2/src/gcal/gcal.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_plugin,node_calendar,node_header,node_event_data,node_resource_data,node_date_tools,node_formatting,node_defaults,node_page_user toneBlue
class node_basic_views,node_month_view,node_agenda_views,node_resource_views toneAmber
class node_basic_renderer,node_agenda_renderer,node_resource_renderer,node_day_renderer,node_selection,node_overlay,node_view_base,node_coordinate_grid,node_hover toneMint
class node_localization,node_language_packs,node_gcal toneRose
class node_google_calendar toneIndigo
```

## Components

### Calendar Core

- [jQuery Plugin](https://github.com/seankenny/fullcalendar/blob/v2/src/main.js): `src/main.js`
- [Calendar](https://github.com/seankenny/fullcalendar/blob/v2/src/Calendar.js): `src/Calendar.js`
- [Calendar Header](https://github.com/seankenny/fullcalendar/blob/v2/src/Header.js): `src/Header.js`
- [Event Sources](https://github.com/seankenny/fullcalendar/blob/v2/src/EventManager.js): `src/EventManager.js`
- [Resource Sources](https://github.com/seankenny/fullcalendar/blob/v2/src/ResourceManager.js): `src/ResourceManager.js`
- [Date Utilities](https://github.com/seankenny/fullcalendar/blob/v2/src/moment-ext.js): `src/moment-ext.js`
- [Date Formatting](https://github.com/seankenny/fullcalendar/blob/v2/src/date-formatting.js): `src/date-formatting.js`
- [Calendar Defaults](https://github.com/seankenny/fullcalendar/blob/v2/src/defaults.js): `src/defaults.js`

### Calendar Views

- [Basic Views](https://github.com/seankenny/fullcalendar/blob/v2/src/basic/BasicView.js): `src/basic/BasicView.js`
- [Month View](https://github.com/seankenny/fullcalendar/blob/v2/src/basic/MonthView.js): `src/basic/MonthView.js`
- [Agenda Views](https://github.com/seankenny/fullcalendar/blob/v2/src/agenda/AgendaView.js): `src/agenda/AgendaView.js`
- [Resource Views](https://github.com/seankenny/fullcalendar/blob/v2/src/resource/ResourceView.js): `src/resource/ResourceView.js`

### Rendering Interaction

- [Basic Event Renderer](https://github.com/seankenny/fullcalendar/blob/v2/src/basic/BasicEventRenderer.js): `src/basic/BasicEventRenderer.js`
- [Agenda Event Renderer](https://github.com/seankenny/fullcalendar/blob/v2/src/agenda/AgendaEventRenderer.js): `src/agenda/AgendaEventRenderer.js`
- [Resource Event Renderer](https://github.com/seankenny/fullcalendar/blob/v2/src/resource/ResourceEventRenderer.js): `src/resource/ResourceEventRenderer.js`
- [Day Event Renderer](https://github.com/seankenny/fullcalendar/blob/v2/src/common/DayEventRenderer.js): `src/common/DayEventRenderer.js`
- [Selection Manager](https://github.com/seankenny/fullcalendar/blob/v2/src/common/SelectionManager.js): `src/common/SelectionManager.js`
- [Overlay Manager](https://github.com/seankenny/fullcalendar/blob/v2/src/common/OverlayManager.js): `src/common/OverlayManager.js`
- [View Base](https://github.com/seankenny/fullcalendar/blob/v2/src/common/View.js): `src/common/View.js`
- [Coordinate Grid](https://github.com/seankenny/fullcalendar/blob/v2/src/common/CoordinateGrid.js): `src/common/CoordinateGrid.js`
- [Hover Listener](https://github.com/seankenny/fullcalendar/blob/v2/src/common/HoverListener.js): `src/common/HoverListener.js`

### Data Extensions

- [Localization](https://github.com/seankenny/fullcalendar/blob/v2/src/lang.js): `src/lang.js`
- [Language Packs](https://github.com/seankenny/fullcalendar/tree/v2/lang): `lang`
- [Google Calendar Feed](https://github.com/seankenny/fullcalendar/blob/v2/src/gcal/gcal.js): `src/gcal/gcal.js`

### Other components

- **Calendar User**
- **Google Calendar**

## Connections

- Calendar User → jQuery Plugin: initializes (evidence: `src/main.js`)
- jQuery Plugin → Calendar: creates (evidence: `src/main.js`)
- Resource Views → View Base: calls (evidence: `src/resource/ResourceView.js`)
- Resource Views → Selection Manager: uses (evidence: `src/resource/ResourceView.js`)
- Resource Views → Overlay Manager: uses (evidence: `src/resource/ResourceView.js`)
- Resource Views → Resource Event Renderer: uses (evidence: `src/resource/ResourceView.js`)
- Resource Views → Resource Sources: fetches resources (evidence: `src/resource/ResourceView.js`)
- Resource Views → Coordinate Grid: uses (evidence: `src/resource/ResourceView.js`)
- Resource Views → Hover Listener: uses (evidence: `src/resource/ResourceView.js`)
- Google Calendar Feed → Google Calendar: fetches feed
