Skip to content

feat(architecture): extract code2flow package for Mermaid diagrams and visualizations - #23

Merged
tom-sapletta-com merged 1 commit into
mainfrom
ticket/015-extract-code2flow-package
Oct 2, 2026
Merged

tom-sapletta-com merged 1 commit into
mainfrom
ticket/015-extract-code2flow-package

Conversation

@tom-sapletta-com

Copy link
Copy Markdown
Contributor

Summary

  • Extracted Mermaid flow diagrams, call graph visualizations, and syntax sanitizers into standalone package code2flow (v0.1.0) under packages/code2flow.
  • code2flow provides:
    • Mermaid exporters: export_compact, export_flow_compact, export_flow_detailed, export_flow_full, export_calls.
    • Mermaid validation and repair: validate_mermaid_file, fix_mermaid_file (supporting both str and Path).
    • Clean dependency on pure topology package code2graph without coupling to AST parsers or file system scanners.
  • Added code2flow to pyproject.toml optional dependencies ([project.optional-dependencies] diagrams) and dev dependencies.
  • Verified with 362/362 pytest tests passing.

…d visualizations

Co-authored-by: Koru Agent <agent@coru.dev>
@tom-sapletta-com
tom-sapletta-com merged commit afe65f0 into main Oct 2, 2026
1 of 3 checks passed
@tom-sapletta-com
tom-sapletta-com deleted the ticket/015-extract-code2flow-package branch October 2, 2026 22:40
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