# nishchal-muradia/designpatternsbycoden architecture

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

## Overview

DesignPatternsByCodeN is a beginner-first Java learning repository, not a runtime framework. A learner studies a pattern’s problem and idea, works through small examples, runs its mini project, and compares it with similar patterns. The source tree divides the catalogue into creational, structural, and behavioural patterns; the README documents the same study stages across those categories. The graph groups each category’s examples and mini projects at their existing source directories. Unsampled pattern implementations are represented at directory level; no relationships between individual patterns are inferred.

Main entry points: [`src/DesignPatterns/creational`](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/creational) (Creation examples), [`src/DesignPatterns/structural`](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/structural) (Structure examples), [`src/DesignPatterns/behavioural`](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/behavioural) (Behaviour examples)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_creational["Creational patterns"]
  node_create_examples["Creation examples"]
  node_create_projects["Creation mini projects"]
end

subgraph group_structural["Structural patterns"]
  node_structure_examples["Structure examples"]
  node_structure_projects["Structure mini projects"]
end

subgraph group_behavioural["Behavioural patterns"]
  node_behaviour_examples["Behaviour examples"]
  node_behaviour_projects["Behaviour mini projects"]
end

node_learner(("Learner"))

node_learner -->|"study patterns"| node_create_examples
node_create_examples -->|"then run"| node_create_projects
node_create_projects -->|"then compare"| node_create_examples
node_learner -->|"study patterns"| node_structure_examples
node_structure_examples -->|"then run"| node_structure_projects
node_structure_projects -->|"then compare"| node_structure_examples
node_learner -->|"study patterns"| node_behaviour_examples
node_behaviour_examples -->|"then run"| node_behaviour_projects
node_behaviour_projects -->|"then compare"| node_behaviour_examples

click node_create_examples "https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/creational"
click node_create_projects "https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/creational"
click node_structure_examples "https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/structural"
click node_structure_projects "https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/structural"
click node_behaviour_examples "https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/behavioural"
click node_behaviour_projects "https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/behavioural"

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_create_examples,node_create_projects toneBlue
class node_structure_examples,node_structure_projects toneAmber
class node_behaviour_examples,node_behaviour_projects toneMint
class node_learner toneIndigo
```

## Components

### Creational patterns

- [Creation examples](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/creational): `src/DesignPatterns/creational`
- [Creation mini projects](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/creational): `src/DesignPatterns/creational`

### Structural patterns

- [Structure examples](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/structural): `src/DesignPatterns/structural`
- [Structure mini projects](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/structural): `src/DesignPatterns/structural`

### Behavioural patterns

- [Behaviour examples](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/behavioural): `src/DesignPatterns/behavioural`
- [Behaviour mini projects](https://github.com/nishchal-muradia/designpatternsbycoden/tree/main/src/DesignPatterns/behavioural): `src/DesignPatterns/behavioural`

### Other components

- **Learner**

## Connections

- Learner → Creation examples: study patterns (evidence: `README.md`)
- Creation examples → Creation mini projects: then run (evidence: `README.md`)
- Creation mini projects → Creation examples: then compare (evidence: `README.md`)
- Learner → Structure examples: study patterns (evidence: `README.md`)
- Structure examples → Structure mini projects: then run (evidence: `README.md`)
- Structure mini projects → Structure examples: then compare (evidence: `README.md`)
- Learner → Behaviour examples: study patterns (evidence: `README.md`)
- Behaviour examples → Behaviour mini projects: then run (evidence: `README.md`)
- Behaviour mini projects → Behaviour examples: then compare (evidence: `README.md`)
