# mikulasmarko/paz1b architecture

> Architecture diagram of the GitHub repository mikulasmarko/paz1b, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mikulasmarko/paz1b
- Repository: https://github.com/mikulasmarko/paz1b

## Overview

##### Project Overview
- The repository is not a single monolithic application, but a collection of several Maven-based Java projects. The folder names such as “cviko01”, “cviko02.1”, “Cviko06”, “domace01”, “domace02”, “domace03”, “domace04.05”, “domace04”, “domace06”, “domace07” indicate different assignments or exercises.
- Each project comes with its own pom.xml and a standard Maven structure (src/main/java), which means every module is essentially an independent Java program demonstrating various algorithms or data structures.
- The README (“toto je mooje paz1b”) suggests that this might be a personal project or portfolio showcasing programming assignments, likely centered around algorithm implementations (e.g., sorting algorithms like BinarySearch, BubbleSort, etc.) and other algorithmic or data structure exercises.

##### Analyzing the File Structure
- Top-Level Organization:
- Several directories are for training (cviko...) and homework (domace...) assignments.
- A common package structure “sk/upjs/paz” is present across modules, indicating a shared namespace or organizational strategy.
- Individual Modules:
- Each module contains its own “Launcher.java” (or other entry point classes) signaling a self-contained executable program.
- Some modules include multiple algorithm-related classes (for sorting, searching, linked lists, etc.), which are the core of the functionality.
- Build and Configuration:
- Every module contains a pom.xml for Maven build management. This indicates dependency management, build configuration, and potential use of common libraries among projects.

##### Architectural Patterns and Design Principles
- Use of Maven: Illustrate the Maven lifecycle (source → compile → test/run) as it applies to the build of each module.
- Consistent Namespace: The recurrent “sk/upjs/paz” package structure across modules indicates consistent naming and design practices. This can be noted to show design uniformity.

##### Emphasizing Essential Architectural Elements
- Every component has a clear label. For example, “Module: cviko01” with sub-items “Launcher.java”.

- A top-level “Maven Build System” component connecting to multiple independent modules (cviko01, cviko02.1, Cviko06, domace01, …).

Happy diagramming!

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Global Maven Build System
    Maven["Maven Build System"]:::maven

    %% Module: cviko01
    subgraph "Module: cviko01"
        cviko01P["pom.xml"]
        cviko01L["Launcher.java"]
    end
    Maven --> cviko01P
    cviko01P --> cviko01L

    %% Module: cviko02.1
    subgraph "Module: cviko02.1"
        cviko02_1P["pom.xml"]
        cviko02_1L["Launcher.java"]
        algo1["BinarySearch"]
        algo2["BubbleSort"]
        algo3["TriediaciAlgoritmus"]
        algo4["Uzol"]
        algo5["selectionSort"]
    end
    Maven --> cviko02_1P
    cviko02_1P --> cviko02_1L
    cviko02_1L --> algo1
    cviko02_1L --> algo2
    cviko02_1L --> algo3
    cviko02_1L --> algo4
    cviko02_1L --> algo5

    %% Module: Cviko06
    subgraph "Module: Cviko06"
        Cviko06P["pom.xml"]
        Cviko06L["Launcher.java"]
    end
    Maven --> Cviko06P
    Cviko06P --> Cviko06L

    %% Module: domace01
    subgraph "Module: domace01"
        domace01P["pom.xml"]
        domace01L["Launcher.java"]
        algo6["Ammann"]
        algo7["Fraktalka"]
        algo8["PoloveAlgoritmy"]
    end
    Maven --> domace01P
    domace01P --> domace01L
    domace01L --> algo6
    domace01L --> algo7
    domace01L --> algo8

    %% Module: domace02
    subgraph "Module: domace02"
        domace02P["pom.xml"]
        domace02L["Launcher.java"]
        algo9["AdamSort"]
        algo10["SpravneZavazia"]
        algo11["TriediaciAlgoritmus"]
        algo12["YouTubeSort"]
    end
    Maven --> domace02P
    domace02P --> domace02L
    domace02L --> algo9
    domace02L --> algo10
    domace02L --> algo11
    domace02L --> algo12

    %% Module: domace03
    subgraph "Module: domace03"
        domace03P["pom.xml"]
        domace03L["Launcher.java"]
        algo13["SpajanyZoznam"]
    end
    Maven --> domace03P
    domace03P --> domace03L
    domace03L --> algo13

    %% Module: domace04.05
    subgraph "Module: domace04.05"
        domace04_05P["pom.xml"]
        domace04_05L["Launcher.java"]
        algo14["Uzol"]
        algo15["zlodej"]
    end
    Maven --> domace04_05P
    domace04_05P --> domace04_05L
    domace04_05L --> algo14
    domace04_05L --> algo15

    %% Module: domace04
    subgraph "Module: domace04"
        domace04P["pom.xml"]
        domace04L["Launcher.java"]
        algo16["Osoba"]
        algo17["Uzol"]
    end
    Maven --> domace04P
    domace04P --> domace04L
    domace04L --> algo16
    domace04L --> algo17

    %% Module: domace06
    subgraph "Module: domace06"
        domace06P["pom.xml"]
        domace06Pkg["Package: sk/upjs/paz"]
        class1["AnalyzatorSkenu"]
        class2["Mathemagic"]
        res["Resource: vysledky.txt"]
    end
    Maven --> domace06P
    domace06P --> domace06Pkg
    domace06Pkg --> class1
    domace06Pkg --> class2
    domace06Pkg --> res

    %% Module: domace07
    subgraph "Module: domace07"
        domace07P["pom.xml"]
        domace07L["Launcher.java"]
        algo18["NajdiSlovo"]
        algo19["Rebus"]
        algo20["Vyskrtavacka"]
    end
    Maven --> domace07P
    domace07P --> domace07L
    domace07L --> algo18
    domace07L --> algo19
    domace07L --> algo20

    %% Click Events for Maven Build files and Launchers
    click cviko01L "https://github.com/mikulasmarko/paz1b/blob/master/cviko01/src/main/java/sk/upjs/paz/Launcher.java"
    click cviko01P "https://github.com/mikulasmarko/paz1b/blob/master/cviko01/pom.xml"
    
    click cviko02_1L "https://github.com/mikulasmarko/paz1b/blob/master/cviko02.1/src/main/java/sk/upjs/paz/Launcher.java"
    click cviko02_1P "https://github.com/mikulasmarko/paz1b/blob/master/cviko02.1/pom.xml"
    
    click Cviko06L "https://github.com/mikulasmarko/paz1b/blob/master/Cviko06/src/main/java/sk/upjs/paz/Launcher.java"
    click Cviko06P "https://github.com/mikulasmarko/paz1b/blob/master/Cviko06/pom.xml"
    
    click domace01L "https://github.com/mikulasmarko/paz1b/blob/master/domace01/src/main/java/sk/upjs/paz/Launcher.java"
    click domace01P "https://github.com/mikulasmarko/paz1b/blob/master/domace01/pom.xml"
    
    click domace02L "https://github.com/mikulasmarko/paz1b/blob/master/domace02/src/main/java/sk/upjs/paz/Launcher.java"
    click domace02P "https://github.com/mikulasmarko/paz1b/blob/master/domace02/pom.xml"
    
    click domace03L "https://github.com/mikulasmarko/paz1b/blob/master/domace03/src/main/java/sk/upjs/paz/Launcher.java"
    click domace03P "https://github.com/mikulasmarko/paz1b/blob/master/domace03/pom.xml"
    
    click domace04_05L "https://github.com/mikulasmarko/paz1b/blob/master/domace04.05/src/main/java/sk/upjs/paz/Launcher.java"
    click domace04_05P "https://github.com/mikulasmarko/paz1b/blob/master/domace04.05/pom.xml"
    
    click domace04L "https://github.com/mikulasmarko/paz1b/blob/master/domace04/src/main/java/sk/upjs/paz/Launcher.java"
    click domace04P "https://github.com/mikulasmarko/paz1b/blob/master/domace04/pom.xml"
    
    click domace06Pkg "https://github.com/mikulasmarko/paz1b/tree/master/domace06/src/main/java/sk/upjs/paz"
    click res "https://github.com/mikulasmarko/paz1b/blob/master/domace06/src/main/resources/vysledky.txt"
    
    click domace07L "https://github.com/mikulasmarko/paz1b/blob/master/domace07/src/main/java/sk/upjs/paz/Launcher.java"
    click domace07P "https://github.com/mikulasmarko/paz1b/blob/master/domace07/pom.xml"

    %% Styles
    classDef maven fill:#FFA07A,stroke:#CD5C5C,stroke-width:2px;
    classDef cviko fill:#ADD8E6,stroke:#0000FF,stroke-width:2px;
    classDef domace fill:#90EE90,stroke:#008000,stroke-width:2px;
    classDef algo fill:#F0E68C,stroke:#BDB76B,stroke-width:1px,stroke-dasharray: 5 5;

    class Maven maven;
    class cviko01P,cviko01L,cviko02_1P,cviko02_1L,Cviko06P,Cviko06L cviko;
    class domace01P,domace01L,domace02P,domace02L,domace03P,domace03L,domace04_05P,domace04_05L,domace04P,domace04L,domace07P,domace07L domace;
    class domace06P,domace06Pkg domace;
    class algo1,algo2,algo3,algo4,algo5,algo6,algo7,algo8,algo9,algo10,algo11,algo12,algo13,algo14,algo15,algo16,algo17,algo18,algo19,algo20,class1,class2,res algo;
```
