feat(diagrams & charts): Mermaid + Chart.js native support (patterns 23-25)#18
Draft
ramsani wants to merge 3 commits into
Draft
feat(diagrams & charts): Mermaid + Chart.js native support (patterns 23-25)#18ramsani wants to merge 3 commits into
ramsani wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(diagrams & charts): Add Mermaid + Chart.js native support
What
Implements Issue #13 — Mermaid Diagrams & Chart.js Integration.
New patterns:
patterns/23-mermaid-architecture.md— System/service architecture diagrams using Mermaid flowchartpatterns/24-mermaid-flowchart.md— Process and workflow diagrams with decision nodespatterns/25-chart-dashboard.md— Data dashboard artifacts using Chart.js bar/line/radar chartsEach pattern includes:
Why
The current artifact ecosystem is limited to HTML/CSS tables and grids. Two major artifact categories are missing:
Diagrams: Flowcharts, architecture maps, sequence diagrams — requested frequently but require external tools without Mermaid.
Charts: Bar comparisons, dashboards, timelines with data visualization — not available natively, breaking the single-command workflow.
Mermaid and Chart.js are the de facto standards: lightweight, CDN-loaded, render in any modern browser with no external dependencies.
Acceptance Criteria (from #13)
audit-artifact.pyvalidates Mermaid syntax (mismatched brackets, invalid node IDs)audit-artifact.pyvalidates Chart.js data structure (labels, datasets required)patterns/23-*.md,patterns/24-*.md,patterns/25-*.mdTesting
Closes #13