docs: update architecture diagrams
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
graph TD
|
graph TD
|
||||||
Presentation[Presentation]
|
|
||||||
Domain[Domain]
|
Domain[Domain]
|
||||||
|
Presentation[Presentation]
|
||||||
Adapters[Adapters]
|
Adapters[Adapters]
|
||||||
Application[Application]
|
Application[Application]
|
||||||
|
Adapters -->|24 deps| Domain
|
||||||
Application -->|2 deps| Domain
|
Application -->|2 deps| Domain
|
||||||
Presentation -->|11 deps| Adapters
|
Presentation -->|11 deps| Adapters
|
||||||
Presentation -->|1 dep| Domain
|
|
||||||
Presentation -->|1 dep| Application
|
Presentation -->|1 dep| Application
|
||||||
Adapters -->|24 deps| 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_tree_sitter
|
|
||||||
archlens --> archlens_application
|
|
||||||
archlens --> archlens_d2
|
|
||||||
archlens --> archlens_toml_config
|
|
||||||
archlens --> archlens_domain
|
|
||||||
archlens --> archlens_html
|
archlens --> archlens_html
|
||||||
archlens --> archlens_ascii
|
|
||||||
archlens --> archlens_file_writer
|
|
||||||
archlens --> archlens_cargo_workspace
|
|
||||||
archlens --> archlens_stdout_writer
|
|
||||||
archlens --> archlens_python_project
|
|
||||||
archlens --> archlens_walkdir
|
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_mermaid
|
||||||
|
archlens --> archlens_file_writer
|
||||||
|
archlens --> archlens_tree_sitter
|
||||||
|
archlens --> archlens_ascii
|
||||||
|
archlens --> archlens_python_project
|
||||||
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
|
||||||
|
|||||||
@@ -157,6 +157,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 : +module_edges() -] HashMap[(String, String), usize]
|
||||||
SourceFile --> FilePath
|
SourceFile --> FilePath
|
||||||
SourceFile --> Language
|
SourceFile --> Language
|
||||||
RuleViolation --> RuleKind
|
RuleViolation --> RuleKind
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
classDiagram
|
classDiagram
|
||||||
namespace Presentation {
|
|
||||||
class Cli
|
|
||||||
class Command
|
|
||||||
}
|
|
||||||
namespace Adapters {
|
namespace Adapters {
|
||||||
class MermaidRenderer
|
class MermaidRenderer
|
||||||
class AsciiRenderer
|
class AsciiRenderer
|
||||||
@@ -35,10 +31,6 @@ classDiagram
|
|||||||
class MemberToml
|
class MemberToml
|
||||||
class PackageSection
|
class PackageSection
|
||||||
}
|
}
|
||||||
namespace Application {
|
|
||||||
class AnalyzeCodebase
|
|
||||||
class AnalyzeCodebaseResult
|
|
||||||
}
|
|
||||||
namespace Domain {
|
namespace Domain {
|
||||||
class OutputConfig
|
class OutputConfig
|
||||||
class DiagramLevel
|
class DiagramLevel
|
||||||
@@ -68,22 +60,14 @@ classDiagram
|
|||||||
class CodeGraph
|
class CodeGraph
|
||||||
class DomainError
|
class DomainError
|
||||||
}
|
}
|
||||||
Cli : command Option
|
namespace Presentation {
|
||||||
Cli : path PathBuf
|
class Cli
|
||||||
Cli : level String
|
class Command
|
||||||
Cli : format String
|
}
|
||||||
Cli : output Option
|
namespace Application {
|
||||||
Cli : config Option
|
class AnalyzeCodebase
|
||||||
Cli : scope Option
|
class AnalyzeCodebaseResult
|
||||||
Cli : exclude Vec
|
}
|
||||||
Cli : include_tests bool
|
|
||||||
Cli : no_weights bool
|
|
||||||
Cli : watch bool
|
|
||||||
Cli : since Option
|
|
||||||
Cli : split_by_module bool
|
|
||||||
Cli : strict bool
|
|
||||||
Cli : check bool
|
|
||||||
Cli : verbose u8
|
|
||||||
MermaidRenderer : level DiagramLevel
|
MermaidRenderer : level DiagramLevel
|
||||||
MermaidRenderer : show_weights bool
|
MermaidRenderer : show_weights bool
|
||||||
MermaidRenderer : +new() -] Self
|
MermaidRenderer : +new() -] Self
|
||||||
@@ -170,14 +154,6 @@ classDiagram
|
|||||||
MemberToml : dependencies HashMap
|
MemberToml : dependencies HashMap
|
||||||
<<private>> PackageSection
|
<<private>> PackageSection
|
||||||
PackageSection : name String
|
PackageSection : name String
|
||||||
AnalyzeCodebase : file_discovery F
|
|
||||||
AnalyzeCodebase : source_analyzer S
|
|
||||||
AnalyzeCodebase : +new(file_discovery F, source_analyzer S) -] Self
|
|
||||||
AnalyzeCodebase : +execute(root Path, config AnalysisConfig) -] Result[AnalyzeCodebaseResult, DomainError]
|
|
||||||
AnalyzeCodebaseResult : graph CodeGraph
|
|
||||||
AnalyzeCodebaseResult : warnings Vec
|
|
||||||
AnalyzeCodebaseResult : +graph() -] CodeGraph
|
|
||||||
AnalyzeCodebaseResult : +warnings() -] [AnalysisWarning]
|
|
||||||
OutputConfig : split_by_module bool
|
OutputConfig : split_by_module bool
|
||||||
OutputConfig : output_path Option
|
OutputConfig : output_path Option
|
||||||
OutputConfig : +with_split_by_module(split bool) -] Self
|
OutputConfig : +with_split_by_module(split bool) -] Self
|
||||||
@@ -307,6 +283,31 @@ 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 : +module_edges() -] HashMap[(String, String), usize]
|
||||||
|
Cli : command Option
|
||||||
|
Cli : path PathBuf
|
||||||
|
Cli : level String
|
||||||
|
Cli : format String
|
||||||
|
Cli : output Option
|
||||||
|
Cli : config Option
|
||||||
|
Cli : scope Option
|
||||||
|
Cli : exclude Vec
|
||||||
|
Cli : include_tests bool
|
||||||
|
Cli : no_weights bool
|
||||||
|
Cli : watch bool
|
||||||
|
Cli : since Option
|
||||||
|
Cli : split_by_module bool
|
||||||
|
Cli : strict bool
|
||||||
|
Cli : check bool
|
||||||
|
Cli : verbose u8
|
||||||
|
AnalyzeCodebase : file_discovery F
|
||||||
|
AnalyzeCodebase : source_analyzer S
|
||||||
|
AnalyzeCodebase : +new(file_discovery F, source_analyzer S) -] Self
|
||||||
|
AnalyzeCodebase : +execute(root Path, config AnalysisConfig) -] Result[AnalyzeCodebaseResult, DomainError]
|
||||||
|
AnalyzeCodebaseResult : graph CodeGraph
|
||||||
|
AnalyzeCodebaseResult : warnings Vec
|
||||||
|
AnalyzeCodebaseResult : +graph() -] CodeGraph
|
||||||
|
AnalyzeCodebaseResult : +warnings() -] [AnalysisWarning]
|
||||||
SourceFile --> FilePath
|
SourceFile --> FilePath
|
||||||
SourceFile --> Language
|
SourceFile --> Language
|
||||||
RuleViolation --> RuleKind
|
RuleViolation --> RuleKind
|
||||||
|
|||||||
Reference in New Issue
Block a user