# creold/illustrator-scripts architecture

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

- Interactive diagram: https://gitdiagram.com/creold/illustrator-scripts
- Repository: https://github.com/creold/illustrator-scripts

## Overview

This repository is a collection of standalone JavaScript scripts that extend Adobe Illustrator; it is not a single application with a shared processing pipeline. The principal workflow is that a user runs an individual script in Illustrator, which operates on the open document or selection and produces an edit, search result, or export. The graph groups the main capabilities and all SOURCE INDEX core modules. Source excerpts show independent script entry points rather than calls between scripts; invocation links are based on the README, and unsampled scripts are represented by their documented names and tree paths.

Main entry points: [`jsx/ArtboardsFinder.jsx`](https://github.com/creold/illustrator-scripts/blob/master/jsx/ArtboardsFinder.jsx) (Find Artboards), [`jsx/ArtboardsRemapper.jsx`](https://github.com/creold/illustrator-scripts/blob/master/jsx/ArtboardsRemapper.jsx) (Artboard Layout), [`jsx/BatchRenamer.jsx`](https://github.com/creold/illustrator-scripts/blob/master/jsx/BatchRenamer.jsx) (Rename Artboards), [`jsx/DrawRectanglesByArtboards.jsx`](https://github.com/creold/illustrator-scripts/blob/master/jsx/DrawRectanglesByArtboards.jsx) (Draw Artboard Shapes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_artboards["Artboard Tools"]
  node_artboard_finder["Find Artboards"]
  node_artboard_manage["Artboard Layout"]
  node_artboard_rename["Rename Artboards<br/>[BatchRenamer.jsx]"]
  node_artboard_draw["Draw Artboard Shapes"]
  node_artboard_mask["Mask Artboards<br/>[MaskArtboards.jsx]"]
end

subgraph group_appearance["Color and Appearance"]
  node_color_average["Average Colors<br/>[AverageColors.jsx]"]
  node_color_strokes["Stroke Color"]
  node_color_correct["Color Correction<br/>[ColorCorrector.jsx]"]
  node_color_contrast["Contrast Check"]
  node_color_blind["Color Blind Preview"]
  node_stroke_width["Stroke Width Tools"]
end

subgraph group_objects["Object and Naming"]
  node_object_search["Find Named Items"]
  node_object_rename["Rename Items<br/>[RenameItems.jsx]"]
  node_object_labels["Show Object Names"]
  node_object_labels_font["Font Picker Labels"]
  node_object_select["Select Artboard Objects"]
end

subgraph group_paths["Path and Geometry"]
  node_path_draw["Draw Polyline<br/>[DrawPolyline.jsx]"]
  node_path_points["Select Point Types"]
  node_path_transform["Transform Points"]
  node_path_generate["Number Sequences"]
end

subgraph group_text["Text and Export"]
  node_text_edit["Edit Text<br/>[MultiEditText.jsx]"]
  node_text_insert["Insert Text<br/>[InsertText.jsx]"]
  node_export_dxf["Export DXF<br/>[ExportToDXF.jsx]"]
end

node_user(("Illustrator User"))
node_illustrator["Adobe Illustrator"]

node_user -->|"runs scripts in"| node_illustrator
node_illustrator -->|"runs"| node_artboard_finder
node_illustrator -->|"runs"| node_artboard_manage
node_illustrator -->|"runs"| node_artboard_rename
node_illustrator -->|"runs"| node_artboard_draw
node_illustrator -->|"runs"| node_artboard_mask
node_illustrator -->|"runs"| node_color_average
node_illustrator -->|"runs"| node_color_strokes
node_illustrator -->|"runs"| node_color_correct
node_illustrator -->|"runs"| node_color_contrast
node_illustrator -->|"runs"| node_color_blind
node_illustrator -->|"runs"| node_stroke_width
node_illustrator -->|"runs"| node_object_search
node_illustrator -->|"runs"| node_object_rename
node_illustrator -->|"runs"| node_object_labels
node_illustrator -->|"runs"| node_object_labels_font
node_illustrator -->|"runs"| node_object_select
node_illustrator -->|"runs"| node_path_draw
node_illustrator -->|"runs"| node_path_points
node_illustrator -->|"runs"| node_path_transform
node_illustrator -->|"runs"| node_path_generate
node_illustrator -->|"runs"| node_text_edit
node_illustrator -->|"runs"| node_text_insert
node_illustrator -->|"runs"| node_export_dxf

click node_artboard_finder "https://github.com/creold/illustrator-scripts/blob/master/jsx/ArtboardsFinder.jsx"
click node_artboard_manage "https://github.com/creold/illustrator-scripts/blob/master/jsx/ArtboardsRemapper.jsx"
click node_artboard_rename "https://github.com/creold/illustrator-scripts/blob/master/jsx/BatchRenamer.jsx"
click node_artboard_draw "https://github.com/creold/illustrator-scripts/blob/master/jsx/DrawRectanglesByArtboards.jsx"
click node_artboard_mask "https://github.com/creold/illustrator-scripts/blob/master/jsx/MaskArtboards.jsx"
click node_color_average "https://github.com/creold/illustrator-scripts/blob/master/jsx/AverageColors.jsx"
click node_color_strokes "https://github.com/creold/illustrator-scripts/blob/master/jsx/StrokeColorFromFill.jsx"
click node_color_correct "https://github.com/creold/illustrator-scripts/blob/master/jsx/ColorCorrector.jsx"
click node_color_contrast "https://github.com/creold/illustrator-scripts/blob/master/jsx/ContrastChecker.jsx"
click node_color_blind "https://github.com/creold/illustrator-scripts/blob/master/jsx/ColorBlindSimulator.jsx"
click node_stroke_width "https://github.com/creold/illustrator-scripts/blob/master/jsx/StrokesWeightUp.jsx"
click node_object_search "https://github.com/creold/illustrator-scripts/blob/master/jsx/NamedItemsFinder.jsx"
click node_object_rename "https://github.com/creold/illustrator-scripts/blob/master/jsx/RenameItems.jsx"
click node_object_labels "https://github.com/creold/illustrator-scripts/blob/master/jsx/ShowObjectNames.jsx"
click node_object_labels_font "https://github.com/creold/illustrator-scripts/blob/master/jsx/ShowObjectNames-FontPicker.jsx"
click node_object_select "https://github.com/creold/illustrator-scripts/blob/master/jsx/SelectArtboardObjects.jsx"
click node_path_draw "https://github.com/creold/illustrator-scripts/blob/master/jsx/DrawPolyline.jsx"
click node_path_points "https://github.com/creold/illustrator-scripts/blob/master/jsx/SelectPointsByType.jsx"
click node_path_transform "https://github.com/creold/illustrator-scripts/blob/master/jsx/TransformPoints.jsx"
click node_path_generate "https://github.com/creold/illustrator-scripts/blob/master/jsx/MakeNumbersSequence.jsx"
click node_text_edit "https://github.com/creold/illustrator-scripts/blob/master/jsx/MultiEditText.jsx"
click node_text_insert "https://github.com/creold/illustrator-scripts/blob/master/jsx/InsertText.jsx"
click node_export_dxf "https://github.com/creold/illustrator-scripts/blob/master/jsx/ExportToDXF.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_artboard_finder,node_artboard_manage,node_artboard_rename,node_artboard_draw,node_artboard_mask,node_user toneBlue
class node_color_average,node_color_strokes,node_color_correct,node_color_contrast,node_color_blind,node_stroke_width toneAmber
class node_object_search,node_object_rename,node_object_labels,node_object_labels_font,node_object_select toneMint
class node_path_draw,node_path_points,node_path_transform,node_path_generate toneRose
class node_text_edit,node_text_insert,node_export_dxf,node_illustrator toneIndigo
```

## Components

### Artboard Tools

- [Find Artboards](https://github.com/creold/illustrator-scripts/blob/master/jsx/ArtboardsFinder.jsx): `jsx/ArtboardsFinder.jsx`
- [Artboard Layout](https://github.com/creold/illustrator-scripts/blob/master/jsx/ArtboardsRemapper.jsx): `jsx/ArtboardsRemapper.jsx`
- [Rename Artboards](https://github.com/creold/illustrator-scripts/blob/master/jsx/BatchRenamer.jsx): `jsx/BatchRenamer.jsx`
- [Draw Artboard Shapes](https://github.com/creold/illustrator-scripts/blob/master/jsx/DrawRectanglesByArtboards.jsx): `jsx/DrawRectanglesByArtboards.jsx`
- [Mask Artboards](https://github.com/creold/illustrator-scripts/blob/master/jsx/MaskArtboards.jsx): `jsx/MaskArtboards.jsx`

### Color and Appearance

- [Average Colors](https://github.com/creold/illustrator-scripts/blob/master/jsx/AverageColors.jsx): `jsx/AverageColors.jsx`
- [Stroke Color](https://github.com/creold/illustrator-scripts/blob/master/jsx/StrokeColorFromFill.jsx): `jsx/StrokeColorFromFill.jsx`
- [Color Correction](https://github.com/creold/illustrator-scripts/blob/master/jsx/ColorCorrector.jsx): `jsx/ColorCorrector.jsx`
- [Contrast Check](https://github.com/creold/illustrator-scripts/blob/master/jsx/ContrastChecker.jsx): `jsx/ContrastChecker.jsx`
- [Color Blind Preview](https://github.com/creold/illustrator-scripts/blob/master/jsx/ColorBlindSimulator.jsx): `jsx/ColorBlindSimulator.jsx`
- [Stroke Width Tools](https://github.com/creold/illustrator-scripts/blob/master/jsx/StrokesWeightUp.jsx): `jsx/StrokesWeightUp.jsx`

### Object and Naming

- [Find Named Items](https://github.com/creold/illustrator-scripts/blob/master/jsx/NamedItemsFinder.jsx): `jsx/NamedItemsFinder.jsx`
- [Rename Items](https://github.com/creold/illustrator-scripts/blob/master/jsx/RenameItems.jsx): `jsx/RenameItems.jsx`
- [Show Object Names](https://github.com/creold/illustrator-scripts/blob/master/jsx/ShowObjectNames.jsx): `jsx/ShowObjectNames.jsx`
- [Font Picker Labels](https://github.com/creold/illustrator-scripts/blob/master/jsx/ShowObjectNames-FontPicker.jsx): `jsx/ShowObjectNames-FontPicker.jsx`
- [Select Artboard Objects](https://github.com/creold/illustrator-scripts/blob/master/jsx/SelectArtboardObjects.jsx): `jsx/SelectArtboardObjects.jsx`

### Path and Geometry

- [Draw Polyline](https://github.com/creold/illustrator-scripts/blob/master/jsx/DrawPolyline.jsx): `jsx/DrawPolyline.jsx`
- [Select Point Types](https://github.com/creold/illustrator-scripts/blob/master/jsx/SelectPointsByType.jsx): `jsx/SelectPointsByType.jsx`
- [Transform Points](https://github.com/creold/illustrator-scripts/blob/master/jsx/TransformPoints.jsx): `jsx/TransformPoints.jsx`
- [Number Sequences](https://github.com/creold/illustrator-scripts/blob/master/jsx/MakeNumbersSequence.jsx): `jsx/MakeNumbersSequence.jsx`

### Text and Export

- [Edit Text](https://github.com/creold/illustrator-scripts/blob/master/jsx/MultiEditText.jsx): `jsx/MultiEditText.jsx`
- [Insert Text](https://github.com/creold/illustrator-scripts/blob/master/jsx/InsertText.jsx): `jsx/InsertText.jsx`
- [Export DXF](https://github.com/creold/illustrator-scripts/blob/master/jsx/ExportToDXF.jsx): `jsx/ExportToDXF.jsx`

### Other components

- **Illustrator User**
- **Adobe Illustrator**

## Connections

- Illustrator User → Adobe Illustrator: runs scripts in (evidence: `README.md`)
- Adobe Illustrator → Find Artboards: runs (evidence: `README.md`)
- Adobe Illustrator → Artboard Layout: runs (evidence: `README.md`)
- Adobe Illustrator → Rename Artboards: runs (evidence: `README.md`)
- Adobe Illustrator → Draw Artboard Shapes: runs (evidence: `README.md`)
- Adobe Illustrator → Mask Artboards: runs (evidence: `README.md`)
- Adobe Illustrator → Average Colors: runs (evidence: `README.md`)
- Adobe Illustrator → Stroke Color: runs (evidence: `README.md`)
- Adobe Illustrator → Color Correction: runs (evidence: `README.md`)
- Adobe Illustrator → Contrast Check: runs (evidence: `README.md`)
- Adobe Illustrator → Color Blind Preview: runs (evidence: `README.md`)
- Adobe Illustrator → Stroke Width Tools: runs (evidence: `README.md`)
- Adobe Illustrator → Find Named Items: runs (evidence: `README.md`)
- Adobe Illustrator → Rename Items: runs (evidence: `README.md`)
- Adobe Illustrator → Show Object Names: runs (evidence: `README.md`)
- Adobe Illustrator → Font Picker Labels: runs (evidence: `README.md`)
- Adobe Illustrator → Select Artboard Objects: runs (evidence: `README.md`)
- Adobe Illustrator → Draw Polyline: runs (evidence: `README.md`)
- Adobe Illustrator → Select Point Types: runs (evidence: `README.md`)
- Adobe Illustrator → Transform Points: runs (evidence: `README.md`)
- Adobe Illustrator → Number Sequences: runs (evidence: `README.md`)
- Adobe Illustrator → Edit Text: runs (evidence: `README.md`)
- Adobe Illustrator → Insert Text: runs (evidence: `README.md`)
- Adobe Illustrator → Export DXF: runs (evidence: `README.md`)
