docs: update architecture diagrams
This commit is contained in:
@@ -4,7 +4,7 @@ graph TD
|
|||||||
Adapters[Adapters]
|
Adapters[Adapters]
|
||||||
Application[Application]
|
Application[Application]
|
||||||
Adapters -->|24 deps| Domain
|
Adapters -->|24 deps| Domain
|
||||||
|
Presentation -->|1 dep| Application
|
||||||
Application -->|2 deps| Domain
|
Application -->|2 deps| Domain
|
||||||
Presentation -->|11 deps| Adapters
|
Presentation -->|11 deps| Adapters
|
||||||
Presentation -->|1 dep| Application
|
|
||||||
Presentation -->|1 dep| Domain
|
Presentation -->|1 dep| Domain
|
||||||
@@ -16,19 +16,19 @@ graph TD
|
|||||||
archlens_html[archlens-html]
|
archlens_html[archlens-html]
|
||||||
end
|
end
|
||||||
archlens_application --> archlens_domain
|
archlens_application --> archlens_domain
|
||||||
archlens --> archlens_html
|
|
||||||
archlens --> archlens_walkdir
|
|
||||||
archlens --> archlens_domain
|
|
||||||
archlens --> archlens_stdout_writer
|
|
||||||
archlens --> archlens_cargo_workspace
|
archlens --> archlens_cargo_workspace
|
||||||
archlens --> archlens_application
|
archlens --> archlens_application
|
||||||
archlens --> archlens_toml_config
|
archlens --> archlens_walkdir
|
||||||
archlens --> archlens_d2
|
|
||||||
archlens --> archlens_mermaid
|
|
||||||
archlens --> archlens_file_writer
|
archlens --> archlens_file_writer
|
||||||
archlens --> archlens_tree_sitter
|
archlens --> archlens_html
|
||||||
archlens --> archlens_ascii
|
archlens --> archlens_stdout_writer
|
||||||
archlens --> archlens_python_project
|
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_tree_sitter --> archlens_domain
|
||||||
archlens_walkdir --> archlens_domain
|
archlens_walkdir --> archlens_domain
|
||||||
archlens_mermaid --> archlens_domain
|
archlens_mermaid --> archlens_domain
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ classDiagram
|
|||||||
PyprojectToml : tool ToolSection
|
PyprojectToml : tool ToolSection
|
||||||
WalkdirDiscovery : +new() -] Self
|
WalkdirDiscovery : +new() -] Self
|
||||||
WalkdirDiscovery : -detect_language(path Path) -] Option[Language]
|
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
|
WalkdirDiscovery : -is_excluded(path Path, root Path, excludes [String]) -] bool
|
||||||
TreeSitterAnalyzer : rust RustExtractor
|
TreeSitterAnalyzer : rust RustExtractor
|
||||||
TreeSitterAnalyzer : python PythonExtractor
|
TreeSitterAnalyzer : python PythonExtractor
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ classDiagram
|
|||||||
ModuleName : +capitalize(s str) -] String
|
ModuleName : +capitalize(s str) -] String
|
||||||
ModuleName : +as_str() -] str
|
ModuleName : +as_str() -] str
|
||||||
Language : +name() -] static str
|
Language : +name() -] static str
|
||||||
|
Language : +is_test_file(path Path) -] bool
|
||||||
FilePath : +new(value str) -] Result[Self, DomainError]
|
FilePath : +new(value str) -] Result[Self, DomainError]
|
||||||
FilePath : +as_str() -] str
|
FilePath : +as_str() -] str
|
||||||
RuleViolation : source_module String
|
RuleViolation : source_module String
|
||||||
@@ -88,6 +89,7 @@ classDiagram
|
|||||||
AnalysisConfig : +include_tests() -] bool
|
AnalysisConfig : +include_tests() -] bool
|
||||||
AnalysisConfig : +with_changed_files(files HashSet[String]) -] Self
|
AnalysisConfig : +with_changed_files(files HashSet[String]) -] Self
|
||||||
AnalysisConfig : +changed_files() -] Option[HashSet[String]]
|
AnalysisConfig : +changed_files() -] Option[HashSet[String]]
|
||||||
|
AnalysisConfig : +is_standard_excluded(name str) -] bool
|
||||||
AnalysisResult : elements Vec
|
AnalysisResult : elements Vec
|
||||||
AnalysisResult : relationships Vec
|
AnalysisResult : relationships Vec
|
||||||
AnalysisResult : warnings Vec
|
AnalysisResult : warnings Vec
|
||||||
@@ -157,6 +159,7 @@ classDiagram
|
|||||||
CodeGraph : +qualify() -] CodeGraph
|
CodeGraph : +qualify() -] CodeGraph
|
||||||
CodeGraph : +cross_module_deps_for(module ModuleName) -] Vec[(ModuleName, usize)]
|
CodeGraph : +cross_module_deps_for(module ModuleName) -] Vec[(ModuleName, usize)]
|
||||||
CodeGraph : +subgraph_by_module(module ModuleName) -] CodeGraph
|
CodeGraph : +subgraph_by_module(module ModuleName) -] CodeGraph
|
||||||
|
CodeGraph : +merge_project_edges(project_graph CodeGraph)
|
||||||
CodeGraph : +module_edges() -] HashMap[(String, String), usize]
|
CodeGraph : +module_edges() -] HashMap[(String, String), usize]
|
||||||
SourceFile --> FilePath
|
SourceFile --> FilePath
|
||||||
SourceFile --> Language
|
SourceFile --> Language
|
||||||
|
|||||||
@@ -97,7 +97,6 @@ classDiagram
|
|||||||
PyprojectToml : tool ToolSection
|
PyprojectToml : tool ToolSection
|
||||||
WalkdirDiscovery : +new() -] Self
|
WalkdirDiscovery : +new() -] Self
|
||||||
WalkdirDiscovery : -detect_language(path Path) -] Option[Language]
|
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
|
WalkdirDiscovery : -is_excluded(path Path, root Path, excludes [String]) -] bool
|
||||||
TreeSitterAnalyzer : rust RustExtractor
|
TreeSitterAnalyzer : rust RustExtractor
|
||||||
TreeSitterAnalyzer : python PythonExtractor
|
TreeSitterAnalyzer : python PythonExtractor
|
||||||
@@ -180,6 +179,7 @@ classDiagram
|
|||||||
ModuleName : +capitalize(s str) -] String
|
ModuleName : +capitalize(s str) -] String
|
||||||
ModuleName : +as_str() -] str
|
ModuleName : +as_str() -] str
|
||||||
Language : +name() -] static str
|
Language : +name() -] static str
|
||||||
|
Language : +is_test_file(path Path) -] bool
|
||||||
FilePath : +new(value str) -] Result[Self, DomainError]
|
FilePath : +new(value str) -] Result[Self, DomainError]
|
||||||
FilePath : +as_str() -] str
|
FilePath : +as_str() -] str
|
||||||
RuleViolation : source_module String
|
RuleViolation : source_module String
|
||||||
@@ -214,6 +214,7 @@ classDiagram
|
|||||||
AnalysisConfig : +include_tests() -] bool
|
AnalysisConfig : +include_tests() -] bool
|
||||||
AnalysisConfig : +with_changed_files(files HashSet[String]) -] Self
|
AnalysisConfig : +with_changed_files(files HashSet[String]) -] Self
|
||||||
AnalysisConfig : +changed_files() -] Option[HashSet[String]]
|
AnalysisConfig : +changed_files() -] Option[HashSet[String]]
|
||||||
|
AnalysisConfig : +is_standard_excluded(name str) -] bool
|
||||||
AnalysisResult : elements Vec
|
AnalysisResult : elements Vec
|
||||||
AnalysisResult : relationships Vec
|
AnalysisResult : relationships Vec
|
||||||
AnalysisResult : warnings Vec
|
AnalysisResult : warnings Vec
|
||||||
@@ -283,6 +284,7 @@ classDiagram
|
|||||||
CodeGraph : +qualify() -] CodeGraph
|
CodeGraph : +qualify() -] CodeGraph
|
||||||
CodeGraph : +cross_module_deps_for(module ModuleName) -] Vec[(ModuleName, usize)]
|
CodeGraph : +cross_module_deps_for(module ModuleName) -] Vec[(ModuleName, usize)]
|
||||||
CodeGraph : +subgraph_by_module(module ModuleName) -] CodeGraph
|
CodeGraph : +subgraph_by_module(module ModuleName) -] CodeGraph
|
||||||
|
CodeGraph : +merge_project_edges(project_graph CodeGraph)
|
||||||
CodeGraph : +module_edges() -] HashMap[(String, String), usize]
|
CodeGraph : +module_edges() -] HashMap[(String, String), usize]
|
||||||
Cli : command Option
|
Cli : command Option
|
||||||
Cli : path PathBuf
|
Cli : path PathBuf
|
||||||
|
|||||||
Reference in New Issue
Block a user