# nicocolascrete/drawingapi architecture

> Architecture diagram of the GitHub repository nicocolascrete/drawingapi, 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/nicocolascrete/drawingapi
- Repository: https://github.com/nicocolascrete/drawingapi

## Overview

The source tree indicates a drawing application or library organized around drawing management, line rendering, spray effects, and geometry/pressure utilities. The files suggest distinct line and spray implementations, but no source excerpts or README were provided, so interactions and runtime flow cannot be verified. The graph therefore maps the identifiable components without asserting connections between them.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_drawing["Drawing"]
  node_drawing_manager["Drawing Manager<br/>[DrawingManager.as]"]
  node_shape["Base Shape<br/>[AShape.as]"]
end

subgraph group_lines["Line Tools"]
  node_line_manager["Line Manager<br/>[LineManager.as]"]
  node_aline["Base Line<br/>[ALine.as]"]
  node_advanced_line["Advanced Line<br/>[AdvancedLine.as]"]
  node_simple_line["Simple Line<br/>[SimpleLine.as]"]
end

subgraph group_sprays["Spray Tools"]
  node_spray_manager["Spray Manager<br/>[SprayManager.as]"]
  node_spray_particle["Spray Particle<br/>[ASprayParticle.as]"]
  node_spray1["Spray 1<br/>[Spray1.as]"]
  node_spray2["Spray 2<br/>[Spray2.as]"]
end

subgraph group_utilities["Utilities"]
  node_pressure_point["Pressure Point<br/>[PressurePoint.as]"]
  node_bezier["Bezier Utility<br/>[UBezier.as]"]
end

click node_drawing_manager "https://github.com/nicocolascrete/drawingapi/blob/master/src/DrawingManager.as"
click node_line_manager "https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/LineManager.as"
click node_aline "https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/ALine.as"
click node_advanced_line "https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/line/AdvancedLine.as"
click node_simple_line "https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/line/SimpleLine.as"
click node_shape "https://github.com/nicocolascrete/drawingapi/blob/master/src/shape/AShape.as"
click node_spray_manager "https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/SprayManager.as"
click node_spray_particle "https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/ASprayParticle.as"
click node_spray1 "https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/spray/Spray1.as"
click node_spray2 "https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/spray/Spray2.as"
click node_pressure_point "https://github.com/nicocolascrete/drawingapi/blob/master/src/utils/PressurePoint.as"
click node_bezier "https://github.com/nicocolascrete/drawingapi/blob/master/src/utils/UBezier.as"

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_drawing_manager,node_shape toneBlue
class node_line_manager,node_aline,node_advanced_line,node_simple_line toneAmber
class node_spray_manager,node_spray_particle,node_spray1,node_spray2 toneMint
class node_pressure_point,node_bezier toneRose
```

## Components

### Drawing

- [Drawing Manager](https://github.com/nicocolascrete/drawingapi/blob/master/src/DrawingManager.as): `src/DrawingManager.as`
- [Base Shape](https://github.com/nicocolascrete/drawingapi/blob/master/src/shape/AShape.as): `src/shape/AShape.as`

### Line Tools

- [Line Manager](https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/LineManager.as): `src/lines/LineManager.as`
- [Base Line](https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/ALine.as): `src/lines/ALine.as`
- [Advanced Line](https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/line/AdvancedLine.as): `src/lines/line/AdvancedLine.as`
- [Simple Line](https://github.com/nicocolascrete/drawingapi/blob/master/src/lines/line/SimpleLine.as): `src/lines/line/SimpleLine.as`

### Spray Tools

- [Spray Manager](https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/SprayManager.as): `src/sprays/SprayManager.as`
- [Spray Particle](https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/ASprayParticle.as): `src/sprays/ASprayParticle.as`
- [Spray 1](https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/spray/Spray1.as): `src/sprays/spray/Spray1.as`
- [Spray 2](https://github.com/nicocolascrete/drawingapi/blob/master/src/sprays/spray/Spray2.as): `src/sprays/spray/Spray2.as`

### Utilities

- [Pressure Point](https://github.com/nicocolascrete/drawingapi/blob/master/src/utils/PressurePoint.as): `src/utils/PressurePoint.as`
- [Bezier Utility](https://github.com/nicocolascrete/drawingapi/blob/master/src/utils/UBezier.as): `src/utils/UBezier.as`
