You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DIAGS_G25P_prev20250605.md
+58-43Lines changed: 58 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
This diagram provides a high-level view of the entire 8-layer ElixirScope architecture, with Foundation as the base layer. It shows the components within each layer and their primary dependencies.
4
4
5
5
```mermaid
6
-
graph TB
6
+
graph LR
7
7
subgraph "ElixirScope Unified Package"
8
8
subgraph "Layer 8: Debugger Interface"
9
9
DEBUG["Debugger Layer"]
@@ -48,7 +48,7 @@ graph TB
48
48
end
49
49
50
50
subgraph "Layer 3: Graph Algorithms"
51
-
GRAPH["Graph Layer - libgraph Hybrid"]
51
+
GRAPHG["Graph Layer - libgraph Hybrid"]
52
52
CENTRALITY["Centrality Algorithms"]
53
53
PATHFINDING["Pathfinding"]
54
54
COMMUNITY["Community Detection"]
@@ -76,8 +76,8 @@ graph TB
76
76
77
77
%% Layer Dependencies (bottom-up)
78
78
FOUNDATION --> AST
79
-
AST --> GRAPH
80
-
GRAPH --> CPG
79
+
AST --> GRAPHG
80
+
GRAPHG --> CPG
81
81
CPG --> ANALYSIS
82
82
ANALYSIS --> CAPTURE
83
83
ANALYSIS --> QUERY
@@ -93,7 +93,7 @@ graph TB
93
93
94
94
%% Foundation integration (global access)
95
95
CONFIG -.-> AST
96
-
CONFIG -.-> GRAPH
96
+
CONFIG -.-> GRAPHG
97
97
CONFIG -.-> CPG
98
98
CONFIG -.-> ANALYSIS
99
99
CONFIG -.-> CAPTURE
@@ -102,7 +102,7 @@ graph TB
102
102
CONFIG -.-> DEBUG
103
103
104
104
TELEMETRY -.-> AST
105
-
TELEMETRY -.-> GRAPH
105
+
TELEMETRY -.-> GRAPHG
106
106
TELEMETRY -.-> CPG
107
107
TELEMETRY -.-> ANALYSIS
108
108
TELEMETRY -.-> CAPTURE
@@ -112,7 +112,7 @@ graph TB
112
112
113
113
classDef foundation fill:#e1f5fe,color:#000
114
114
classDef ast fill:#f3e5f5,color:#000
115
-
classDef graph fill:#e8f5e8,color:#000
115
+
classDef graphg fill:#e8f5e8,color:#000
116
116
classDef cpg fill:#fff3e0,color:#000
117
117
classDef analysis fill:#fce4ec,color:#000
118
118
classDef runtime fill:#f1f8e9,color:#000
@@ -121,7 +121,7 @@ graph TB
121
121
122
122
class FOUNDATION,CONFIG,EVENTS,TELEMETRY,REGISTRY,PROTECTION foundation
123
123
class AST,PARSER,REPOSITORY,MEMORY,PATTERNS_AST,QUERY_AST ast
124
-
class GRAPH,CENTRALITY,PATHFINDING,COMMUNITY,CONVERTERS graph
124
+
class GRAPHG,CENTRALITY,PATHFINDING,COMMUNITY,CONVERTERS graphg
125
125
class CPG,BUILDER,CFG,DFG,CALLGRAPH,SEMANTIC cpg
126
126
class ANALYSIS,PATTERNS,QUALITY,METRICS,RECOMMENDATIONS analysis
127
127
class CAPTURE,QUERY,INSTR,CORRELATION,EXECUTOR,DSL runtime
@@ -134,7 +134,7 @@ graph TB
134
134
This flowchart visualizes how data moves through the ElixirScope system, from input sources through the various processing pipelines to the final output interfaces.
135
135
136
136
```mermaid
137
-
flowchart LR
137
+
flowchart TD
138
138
subgraph "Input Sources"
139
139
SOURCE["Source Code"]
140
140
RUNTIME_EVENTS["Runtime Events"]
@@ -218,6 +218,21 @@ flowchart LR
218
218
CONFIG_DATA --> INSTRUMENT
219
219
CONFIG_DATA --> QUERY_PARSE
220
220
CONFIG_DATA --> AI_PROCESS
221
+
222
+
%% Styling
223
+
classDef input fill:#fffde7,color:#000
224
+
classDef staticAnalysis fill:#f3e5f5,color:#000
225
+
classDef runtimeAnalysis fill:#f1f8e9,color:#000
226
+
classDef queryProcessing fill:#e8f5e8,color:#000
227
+
classDef intelligence fill:#e3f2fd,color:#000
228
+
classDef output fill:#f8f9fa,color:#000
229
+
230
+
class SOURCE,RUNTIME_EVENTS,USER_QUERIES,CONFIG_DATA input
231
+
class PARSE,STORE,GRAPH_BUILD,CPG_BUILD,PATTERN_DETECT staticAnalysis
232
+
class INSTRUMENT,EVENT_CAPTURE,CORRELATE,TEMPORAL runtimeAnalysis
233
+
class QUERY_PARSE,QUERY_OPT,QUERY_EXEC,RESULT_FORMAT queryProcessing
234
+
class AI_PROCESS,INSIGHT_GEN,PREDICT,RECOMMEND intelligence
235
+
class DEBUG_UI,REPORTS,METRICS,ALERTS output
221
236
```
222
237
223
238
### 3. Foundation Layer API Architecture
@@ -293,7 +308,7 @@ graph TD
293
308
This diagram breaks down the internal structure of the AST Layer (Layer 2), showing its main functional components, their interactions, and dependencies on the Foundation layer.
294
309
295
310
```mermaid
296
-
graph TD
311
+
graph LR
297
312
subgraph "External Inputs & Consumers"
298
313
direction TB
299
314
subgraph "Input Sources"
@@ -345,25 +360,25 @@ graph TD
345
360
FS --> Sync
346
361
Parser --> Repo
347
362
Sync --> Repo
348
-
MemMan -- "Manages" --> Repo
349
-
Repo -- "AST Data" --> PatternMatcher
350
-
Repo -- "AST Data" --> QueryEngine
351
-
Repo -- "AST Data" --> Transformer
352
-
DataStructs -- "Used by all components" -.-> Parser
0 commit comments