docs: update architecture diagrams

This commit is contained in:
Archlens Bot
2026-06-17 09:02:28 +00:00
parent e26151b4a1
commit b159cafc9d
5 changed files with 16 additions and 12 deletions

View File

@@ -4,7 +4,7 @@ graph TD
Adapters[Adapters]
Application[Application]
Adapters -->|24 deps| Domain
Presentation -->|1 dep| Application
Application -->|2 deps| Domain
Presentation -->|11 deps| Adapters
Presentation -->|1 dep| Application
Presentation -->|1 dep| Domain

View File

@@ -16,19 +16,19 @@ graph TD
archlens_html[archlens-html]
end
archlens_application --> archlens_domain
archlens --> archlens_html
archlens --> archlens_walkdir
archlens --> archlens_domain
archlens --> archlens_stdout_writer
archlens --> archlens_cargo_workspace
archlens --> archlens_application
archlens --> archlens_toml_config
archlens --> archlens_d2
archlens --> archlens_mermaid
archlens --> archlens_walkdir
archlens --> archlens_file_writer
archlens --> archlens_tree_sitter
archlens --> archlens_ascii
archlens --> archlens_html
archlens --> archlens_stdout_writer
archlens --> archlens_python_project
archlens --> archlens_d2
archlens --> archlens_ascii
archlens --> archlens_tree_sitter
archlens --> archlens_domain
archlens --> archlens_toml_config
archlens --> archlens_mermaid
archlens_tree_sitter --> archlens_domain
archlens_walkdir --> archlens_domain
archlens_mermaid --> archlens_domain

View File

@@ -60,7 +60,6 @@ classDiagram
PyprojectToml : tool ToolSection
WalkdirDiscovery : +new() -] Self
WalkdirDiscovery : -detect_language(path Path) -] Option[Language]
WalkdirDiscovery : -is_test_file(path Path, language Language) -] bool
WalkdirDiscovery : -is_excluded(path Path, root Path, excludes [String]) -] bool
TreeSitterAnalyzer : rust RustExtractor
TreeSitterAnalyzer : python PythonExtractor

View File

@@ -54,6 +54,7 @@ classDiagram
ModuleName : +capitalize(s str) -] String
ModuleName : +as_str() -] str
Language : +name() -] static str
Language : +is_test_file(path Path) -] bool
FilePath : +new(value str) -] Result[Self, DomainError]
FilePath : +as_str() -] str
RuleViolation : source_module String
@@ -88,6 +89,7 @@ classDiagram
AnalysisConfig : +include_tests() -] bool
AnalysisConfig : +with_changed_files(files HashSet[String]) -] Self
AnalysisConfig : +changed_files() -] Option[HashSet[String]]
AnalysisConfig : +is_standard_excluded(name str) -] bool
AnalysisResult : elements Vec
AnalysisResult : relationships Vec
AnalysisResult : warnings Vec
@@ -157,6 +159,7 @@ classDiagram
CodeGraph : +qualify() -] CodeGraph
CodeGraph : +cross_module_deps_for(module ModuleName) -] Vec[(ModuleName, usize)]
CodeGraph : +subgraph_by_module(module ModuleName) -] CodeGraph
CodeGraph : +merge_project_edges(project_graph CodeGraph)
CodeGraph : +module_edges() -] HashMap[(String, String), usize]
SourceFile --> FilePath
SourceFile --> Language

View File

@@ -97,7 +97,6 @@ classDiagram
PyprojectToml : tool ToolSection
WalkdirDiscovery : +new() -] Self
WalkdirDiscovery : -detect_language(path Path) -] Option[Language]
WalkdirDiscovery : -is_test_file(path Path, language Language) -] bool
WalkdirDiscovery : -is_excluded(path Path, root Path, excludes [String]) -] bool
TreeSitterAnalyzer : rust RustExtractor
TreeSitterAnalyzer : python PythonExtractor
@@ -180,6 +179,7 @@ classDiagram
ModuleName : +capitalize(s str) -] String
ModuleName : +as_str() -] str
Language : +name() -] static str
Language : +is_test_file(path Path) -] bool
FilePath : +new(value str) -] Result[Self, DomainError]
FilePath : +as_str() -] str
RuleViolation : source_module String
@@ -214,6 +214,7 @@ classDiagram
AnalysisConfig : +include_tests() -] bool
AnalysisConfig : +with_changed_files(files HashSet[String]) -] Self
AnalysisConfig : +changed_files() -] Option[HashSet[String]]
AnalysisConfig : +is_standard_excluded(name str) -] bool
AnalysisResult : elements Vec
AnalysisResult : relationships Vec
AnalysisResult : warnings Vec
@@ -283,6 +284,7 @@ classDiagram
CodeGraph : +qualify() -] CodeGraph
CodeGraph : +cross_module_deps_for(module ModuleName) -] Vec[(ModuleName, usize)]
CodeGraph : +subgraph_by_module(module ModuleName) -] CodeGraph
CodeGraph : +merge_project_edges(project_graph CodeGraph)
CodeGraph : +module_edges() -] HashMap[(String, String), usize]
Cli : command Option
Cli : path PathBuf