Skip to content

docs: add visual pattern map with Mermaid diagrams #3463

Open
dadhich-ashish wants to merge 4 commits intoiluwatar:masterfrom
dadhich-ashish:patterns-visual
Open

docs: add visual pattern map with Mermaid diagrams #3463
dadhich-ashish wants to merge 4 commits intoiluwatar:masterfrom
dadhich-ashish:patterns-visual

Conversation

@dadhich-ashish
Copy link
Copy Markdown

@dadhich-ashish dadhich-ashish commented Apr 7, 2026

Adds a visual overview of all 153 design patterns organized by category, making it easier for newcomers to understand the breadth and structure of the repository at a glance.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

PR Summary

Adds a complete visual reference of all design patterns organized by category (Mermaid diagrams) with a new PATTERNS.md and updated README surface Pattern Map linking to the visual reference.

Changes

File Summary
PATTERNS.md New comprehensive visual reference of all design patterns implemented in the repository, organized by category and illustrated with Mermaid diagrams (mindmaps and flowcharts). Covers Pattern Landscape and sections for Creational, Structural, Behavioral, Concurrency, Architectural, Functional, Idiom, and Integration, plus a GoF mapping. Serves as the visual companion to the codebase.
README.md Added a 'Pattern Map' section with a Mermaid mindmap showing 152 patterns across 8 categories and a link to PATTERNS.md for full visual reference.

autogenerated by presubmit.ai

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Pull request needs attention.

Review Summary

Commits Considered (1)
  • 4cff57d: docs: adding pattern visual for initial users and understanding
Files Processed (2)
  • PATTERNS.md (1 hunk)
  • README.md (1 hunk)
Actionable Comments (2)
  • PATTERNS.md [13-14]

    readability: "Mermaid syntax: root label on a single line"

  • README.md [67-68]

    readability: "Mermaid syntax: root label on a single line"

Skipped Comments (0)

PATTERNS.md Outdated
Comment on lines +13 to +14
root((Design Patterns
153 total))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mermaid mindmap root label is split across two lines, which breaks the diagram syntax. Put the entire label on a single line, e.g., root((Design Patterns 153 total)).

README.md Outdated
Comment on lines +67 to +68
root((Design Patterns
153 total))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mermaid mindmap root label is split across two lines in the README as well. Fix to a single line to ensure the diagram renders.

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Pull request needs attention.

Review Summary

Commits Considered (1)
Files Processed (2)
  • PATTERNS.md (1 hunk)
  • README.md (1 hunk)
Actionable Comments (1)
  • PATTERNS.md [12-16]

    possible bug: "Total count mismatch between catalog and per-category counts."

Skipped Comments (2)
  • README.md [68-72]

    possible bug: "Pattern count mismatch in README Pattern Map."

  • PATTERNS.md [11-12]

    enhancement: "Mermaid mindmap compatibility note."

Comment on lines +12 to +16
mindmap
root((Design Patterns 153 total))
Creational
18 patterns
Object creation
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Total patterns count is inconsistent: the header claims 153 total patterns, but the per-category counts shown here sum to 152. Please reconcile the counts so the total matches the sum of categories, and ensure PATTERNS.md and the README Pattern Map reflect the same total.

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Review Summary

Commits Considered (1)
  • b53696c: Merge branch 'master' into patterns-visual
Files Processed (1)
  • README.md (1 hunk)
Actionable Comments (0)
Skipped Comments (2)
  • README.md [50-91]

    readability: "Mermaid mindmap syntax reliability in README"

  • README.md [48-49]

    maintainability: "Verify PATTERNS.md exists and link accuracy"

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Review Summary

Commits Considered (1)
  • 112b05c: docs: fix count of patterns, reviewed by github-actions
Files Processed (2)
  • PATTERNS.md (1 hunk)
  • README.md (1 hunk)
Actionable Comments (0)
Skipped Comments (3)
  • PATTERNS.md [13-13]

    possible bug: "Pattern total consistency"

  • PATTERNS.md [302-302]

    compatibility: "Mermaid compatibility risk"

  • README.md [46-46]

    maintainability: "Documentation alignment"

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant