# anshulsarathe35/arrowconvertpro architecture

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

- Interactive diagram: https://gitdiagram.com/anshulsarathe35/arrowconvertpro
- Repository: https://github.com/anshulsarathe35/arrowconvertpro

## Overview

This is a React web app presented as a PDF-to-JPG converter. Its visible workflow is a user-facing converter with output-folder selection and saving generated images; the app is mounted through the React entry point. The large converter source excerpt is incomplete and includes commented-out conversion examples, so the PDF-rendering implementation and download behavior cannot be verified here. The graph therefore focuses on the relationships visible in the excerpts and source index.

Main entry points: [`src/PdfToJpg.jsx`](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/PdfToJpg.jsx) (PDF converter), [`src/App.jsx`](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/App.jsx) (App shell), [`src/main.jsx`](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/main.jsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["React app"]
  node_entry["React entry<br/>[main.jsx]"]
  node_shell["App shell<br/>[App.jsx]"]
end

subgraph group_conversion["Converter and output"]
  node_converter["PDF converter<br/>[PdfToJpg.jsx]"]
  node_folder_picker["Folder picker"]
  node_folder_writer["Folder writer<br/>[PdfToJpg.jsx]"]
end

node_user(("User"))
node_local_folder[("Local output folder")]

node_entry -->|"renders"| node_shell
node_shell -->|"renders"| node_converter
node_user -.->|"uses"| node_converter
node_converter -->|"requests access"| node_folder_picker
node_converter -->|"saves images"| node_folder_writer
node_folder_writer -->|"writes files"| node_local_folder

click node_entry "https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/main.jsx"
click node_shell "https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/App.jsx"
click node_converter "https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/PdfToJpg.jsx"
click node_folder_writer "https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/PdfToJpg.jsx"

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_entry,node_shell,node_user toneBlue
class node_converter,node_folder_picker,node_folder_writer,node_local_folder toneAmber
```

## Components

### React app

- [React entry](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/main.jsx): `src/main.jsx`
- [App shell](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/App.jsx): `src/App.jsx`

### Converter and output

- [PDF converter](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/PdfToJpg.jsx): `src/PdfToJpg.jsx`
- **Folder picker**
- [Folder writer](https://github.com/anshulsarathe35/arrowconvertpro/blob/master/src/PdfToJpg.jsx): `src/PdfToJpg.jsx`

### Other components

- **User**
- **Local output folder**

## Connections

- React entry → App shell: renders (evidence: `src/main.jsx`)
- App shell → PDF converter: renders (evidence: `src/App.jsx`)
- User → PDF converter: uses
- PDF converter → Folder picker: requests access (evidence: `src/PdfToJpg.jsx`)
- PDF converter → Folder writer: saves images (evidence: `src/PdfToJpg.jsx`)
- Folder writer → Local output folder: writes files (evidence: `src/PdfToJpg.jsx`)
