@@ -2,7 +2,9 @@ workspace "ng2react" "A tool that converts AngularJS components to React using O
2
2
!docs ./arc42
3
3
!identifiers hierarchical
4
4
model {
5
- openAi = softwareSystem "GPT-4" "OpenAI API" "AI"
5
+ openAi = softwareSystem "OpenAI" "OpenAI API" "AI" {
6
+ gpt = container "GPT-4" "LLM" "" "AI"
7
+ }
6
8
7
9
ng2react = softwareSystem "AngularJS to React" "Software System" {
8
10
filesystem = container "File System" "Where the user's project files exist" "Native" "datastore"
@@ -67,16 +69,40 @@ workspace "ng2react" "A tool that converts AngularJS components to React using O
67
69
autoLayout lr
68
70
}
69
71
72
+ component ng2react.IDE "Generic_IDE_Bridge" {
73
+ include ng2react.IDE.ng2react_api ng2react.IDE.ide_plugin ng2react.cli_wrapper
74
+ exclude ide_user ng2react.filesystem
75
+ autoLayout lr
76
+ }
77
+
78
+ component ng2react.IDE "Generic_IDE_Bridge_Wrapper" {
79
+ include ng2react.IDE.ng2react_api ng2react.IDE.ide_plugin ng2react.cli_wrapper.ng2react_core
80
+ exclude ide_user ng2react.filesystem
81
+ autoLayout lr
82
+ }
83
+
70
84
component ng2react.cli_wrapper "AngularJS2React_CLI" {
71
85
include *
72
86
autoLayout lr
73
87
}
74
88
89
+ component ng2react.cli_wrapper "AngularJS2React_CORE" {
90
+ include *
91
+ exclude ng2react.IDE
92
+ autoLayout lr
93
+ }
94
+
75
95
component ng2react.vscode "VSCode_IDE" {
76
96
include *
77
97
autoLayout lr
78
98
}
79
99
100
+ component ng2react.vscode "VSCode_IDE_NoBridge" {
101
+ include *
102
+ exclude ide_user ng2react.filesystem ng2react.vscode.typescript openAi
103
+ autoLayout lr
104
+ }
105
+
80
106
deployment ng2react "Live" {
81
107
include *
82
108
autoLayout lr
@@ -86,6 +112,7 @@ workspace "ng2react" "A tool that converts AngularJS components to React using O
86
112
dynamic ng2react "ScanProject" {
87
113
title "User converts AngularJS component to React"
88
114
ide_user -> ng2react.IDE "Opens AngularJS project inside IDE"
115
+ ng2react.IDE -> ng2react.filesystem "Scans project for JavaScript files"
89
116
ng2react.IDE -> ng2react.cli_wrapper "Sends files for analysis"
90
117
ng2react.cli_wrapper -> ng2react.IDE "Returns list of convertable components"
91
118
ng2react.IDE -> ide_user "Displays list of convertable components"
@@ -99,6 +126,8 @@ workspace "ng2react" "A tool that converts AngularJS components to React using O
99
126
ng2react.cli_wrapper -> openAi "Sends generated prompt"
100
127
ng2react.cli_wrapper -> ng2react.IDE "Returns Markdown, JSX, and original prompt"
101
128
ng2react.IDE -> ide_user "Displays markdown response with save options"
129
+ ide_user -> ng2react.IDE "Saves converted component"
130
+ ng2react.IDE -> ng2react.filesystem "Writes converted component to file"
102
131
autoLayout lr
103
132
}
104
133
0 commit comments