# chaitanyabiswas/mouse-jiggler architecture

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

- Interactive diagram: https://gitdiagram.com/chaitanyabiswas/mouse-jiggler
- Repository: https://github.com/chaitanyabiswas/mouse-jiggler

## Overview

Mouse Jiggler is a small Windows desktop utility for preventing inactivity by periodically simulating mouse movement. The documented workflow is to open the app, enable jiggle at a chosen interval, and let it run in the background; a notification and tray icon indicate activity and allow the window to be reopened. The repository tree identifies the form files, but no source excerpts were provided, so implementation-level details are limited to the README’s descriptions.

Main entry points: [`Form1.vb`](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb) (Enable and Interval), [`Form1.Designer.vb`](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.Designer.vb) (Main Window)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_controls["User Controls"]
  node_window["Main Window<br/>[Form1.Designer.vb]"]
  node_settings["Enable and Interval<br/>[Form1.vb]"]
end

subgraph group_jiggling["Mouse Activity"]
  node_movement["Mouse Jiggling<br/>[Form1.vb]"]
end

subgraph group_background["Background Access"]
  node_notice["Background Notification<br/>[Form1.vb]"]
  node_tray["Notification Area Icon<br/>[Form1.vb]"]
end

node_user(("User"))
node_os["Windows Notification Area"]

node_user -->|"opens"| node_window
node_user -->|"enables and configures"| node_settings
node_settings -->|"starts at interval"| node_movement
node_movement -->|"notifies background activity"| node_notice
node_notice -->|"appears in"| node_os
node_user -->|"double-clicks"| node_tray
node_tray -->|"reopens"| node_window

click node_window "https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.Designer.vb"
click node_settings "https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb"
click node_movement "https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb"
click node_notice "https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb"
click node_tray "https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb"

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_window,node_settings,node_user toneBlue
class node_movement toneAmber
class node_notice,node_tray toneMint
class node_os toneIndigo
```

## Components

### User Controls

- [Main Window](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.Designer.vb): `Form1.Designer.vb`
- [Enable and Interval](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb): `Form1.vb`

### Mouse Activity

- [Mouse Jiggling](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb): `Form1.vb`

### Background Access

- [Background Notification](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb): `Form1.vb`
- [Notification Area Icon](https://github.com/chaitanyabiswas/mouse-jiggler/blob/master/Form1.vb): `Form1.vb`

### Other components

- **User**
- **Windows Notification Area**

## Connections

- User → Main Window: opens (evidence: `README.md`)
- User → Enable and Interval: enables and configures (evidence: `README.md`)
- Enable and Interval → Mouse Jiggling: starts at interval (evidence: `README.md`)
- Mouse Jiggling → Background Notification: notifies background activity (evidence: `README.md`)
- Background Notification → Windows Notification Area: appears in (evidence: `README.md`)
- User → Notification Area Icon: double-clicks (evidence: `README.md`)
- Notification Area Icon → Main Window: reopens (evidence: `README.md`)
