@@ -2,20 +2,21 @@ 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 "OpenAI " "OpenAI API" "External "
5
+ openAi = softwareSystem "GPT-4 " "OpenAI API" "AI "
6
6
7
7
ng2react = softwareSystem "AngularJS to React" "Software System" {
8
- filesystem = container "File System" "Where the user's project files exist" {
9
-
10
- }
8
+ filesystem = container "File System" "Where the user's project files exist" "Native" "datastore"
11
9
12
10
cli_wrapper = container "@ng2react/cli" "Command line interface for ng2react" "stdio" {
13
11
!include ng2react-core.dsl
14
12
}
15
13
16
14
IDE = container "Generic IDE" "Integrated Development Environment" "Native" {
17
- ide_plugin = component "IDE Extension " "IDE Specific Implementation " "Native" {
15
+ ng2react_api = component "Ng2React API " "Native bridge to Node CLI " "Native" {
18
16
this -> cli_wrapper.ng2react_core "Makes API calls" "stdio"
17
+ }
18
+ ide_plugin = component "IDE Extension" "IDE Specific Implementation" "Native" {
19
+ this -> ng2react_api "Uses" "stdio"
19
20
this -> filesystem "Read/Write"
20
21
}
21
22
}
@@ -110,7 +111,36 @@ workspace "ng2react" "A tool that converts AngularJS components to React using O
110
111
111
112
element "Proposed" {
112
113
background #b7e1cd
113
-
114
+
115
+ }
116
+
117
+ element "AI" {
118
+ background #aaaaaa
119
+ shape Robot
120
+ }
121
+
122
+ element "datastore" {
123
+ // shape <Box|RoundedBox|Circle|Ellipse|Hexagon|Cylinder|Pipe|Person|Robot|Folder|WebBrowser|MobileDevicePortrait|MobileDeviceLandscape|Component>
124
+ shape Cylinder
125
+ // shape Folder
126
+ // icon <file|url>
127
+ // width <integer>
128
+ // height <integer>
129
+ // background <#rrggbb|color name>
130
+ // color <#rrggbb|color name>
131
+ // colour <#rrggbb|color name>
132
+ // stroke <#rrggbb|color name>
133
+ // strokeWidth <integer: 1-10>
134
+ // fontSize <integer>
135
+ // border <solid|dashed|dotted>
136
+ // opacity <integer: 0-100>
137
+ // metadata <true|false>
138
+ // description <true|false>
139
+ // properties {
140
+ // name value
141
+ // }
142
+ }
143
+
114
144
}
115
145
}
116
- }
146
+ }
0 commit comments