cognite-neat 0.92.2__py3-none-any.whl → 0.93.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cognite-neat might be problematic. Click here for more details.

Files changed (289) hide show
  1. cognite/neat/__init__.py +3 -2
  2. cognite/neat/{app → _app}/api/configuration.py +9 -7
  3. cognite/neat/_app/api/context_manager/__init__.py +3 -0
  4. cognite/neat/{app → _app}/api/context_manager/manager.py +1 -1
  5. cognite/neat/{app → _app}/api/explorer.py +5 -5
  6. cognite/neat/{app → _app}/api/routers/configuration.py +2 -2
  7. cognite/neat/{app → _app}/api/routers/crud.py +4 -4
  8. cognite/neat/{app → _app}/api/routers/workflows.py +7 -7
  9. cognite/neat/{app → _app}/main.py +1 -1
  10. cognite/neat/_app/ui/neat-app/package-lock.json +18306 -0
  11. cognite/neat/_app/ui/neat-app/package.json +62 -0
  12. cognite/neat/_app/ui/neat-app/public/favicon.ico +0 -0
  13. cognite/neat/_app/ui/neat-app/public/img/architect-icon.svg +116 -0
  14. cognite/neat/_app/ui/neat-app/public/img/developer-icon.svg +112 -0
  15. cognite/neat/_app/ui/neat-app/public/img/sme-icon.svg +34 -0
  16. cognite/neat/_app/ui/neat-app/public/index.html +43 -0
  17. cognite/neat/_app/ui/neat-app/public/logo192.png +0 -0
  18. cognite/neat/_app/ui/neat-app/public/manifest.json +25 -0
  19. cognite/neat/_app/ui/neat-app/public/robots.txt +3 -0
  20. cognite/neat/_app/ui/neat-app/src/App.css +38 -0
  21. cognite/neat/_app/ui/neat-app/src/App.js +17 -0
  22. cognite/neat/_app/ui/neat-app/src/App.test.js +8 -0
  23. cognite/neat/_app/ui/neat-app/src/MainContainer.tsx +70 -0
  24. cognite/neat/_app/ui/neat-app/src/components/JsonViewer.tsx +43 -0
  25. cognite/neat/_app/ui/neat-app/src/components/LocalUploader.tsx +124 -0
  26. cognite/neat/_app/ui/neat-app/src/components/OverviewComponentEditorDialog.tsx +63 -0
  27. cognite/neat/_app/ui/neat-app/src/components/StepEditorDialog.tsx +511 -0
  28. cognite/neat/_app/ui/neat-app/src/components/TabPanel.tsx +36 -0
  29. cognite/neat/_app/ui/neat-app/src/components/Utils.tsx +56 -0
  30. cognite/neat/_app/ui/neat-app/src/components/WorkflowDeleteDialog.tsx +60 -0
  31. cognite/neat/_app/ui/neat-app/src/components/WorkflowExecutionReport.tsx +112 -0
  32. cognite/neat/_app/ui/neat-app/src/components/WorkflowImportExportDialog.tsx +67 -0
  33. cognite/neat/_app/ui/neat-app/src/components/WorkflowMetadataDialog.tsx +79 -0
  34. cognite/neat/_app/ui/neat-app/src/index.css +13 -0
  35. cognite/neat/_app/ui/neat-app/src/index.js +13 -0
  36. cognite/neat/_app/ui/neat-app/src/logo.svg +1 -0
  37. cognite/neat/_app/ui/neat-app/src/reportWebVitals.js +13 -0
  38. cognite/neat/_app/ui/neat-app/src/setupTests.js +5 -0
  39. cognite/neat/_app/ui/neat-app/src/types/WorkflowTypes.ts +388 -0
  40. cognite/neat/_app/ui/neat-app/src/views/AboutView.tsx +61 -0
  41. cognite/neat/_app/ui/neat-app/src/views/ConfigView.tsx +184 -0
  42. cognite/neat/_app/ui/neat-app/src/views/GlobalConfigView.tsx +180 -0
  43. cognite/neat/_app/ui/neat-app/src/views/WorkflowView.tsx +570 -0
  44. cognite/neat/_app/ui/neat-app/tsconfig.json +27 -0
  45. cognite/neat/{config.py → _config.py} +3 -3
  46. cognite/neat/{constants.py → _constants.py} +13 -5
  47. cognite/neat/_graph/_shared.py +34 -0
  48. cognite/neat/{graph → _graph}/_tracking/base.py +1 -1
  49. cognite/neat/{graph → _graph}/_tracking/log.py +1 -1
  50. cognite/neat/{graph → _graph}/extractors/__init__.py +5 -0
  51. cognite/neat/{graph → _graph}/extractors/_base.py +2 -2
  52. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_assets.py +1 -1
  53. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_base.py +4 -4
  54. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_classic.py +5 -5
  55. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_data_sets.py +1 -1
  56. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_events.py +1 -1
  57. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_files.py +1 -1
  58. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_labels.py +1 -1
  59. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_relationships.py +2 -2
  60. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_sequences.py +1 -1
  61. cognite/neat/{graph → _graph}/extractors/_classic_cdf/_timeseries.py +1 -1
  62. cognite/neat/{graph → _graph}/extractors/_dexpi.py +5 -5
  63. cognite/neat/{graph → _graph}/extractors/_dms.py +3 -3
  64. cognite/neat/_graph/extractors/_iodd.py +402 -0
  65. cognite/neat/{graph → _graph}/extractors/_mock_graph_generator.py +9 -8
  66. cognite/neat/_graph/extractors/_rdf_file.py +49 -0
  67. cognite/neat/{graph → _graph}/loaders/_base.py +5 -5
  68. cognite/neat/{graph → _graph}/loaders/_rdf2asset.py +11 -10
  69. cognite/neat/{graph → _graph}/loaders/_rdf2dms.py +10 -10
  70. cognite/neat/{graph → _graph}/queries/_base.py +91 -19
  71. cognite/neat/{graph → _graph}/queries/_construct.py +5 -5
  72. cognite/neat/{graph → _graph}/queries/_shared.py +3 -3
  73. cognite/neat/{graph → _graph}/transformers/__init__.py +6 -0
  74. cognite/neat/{graph → _graph}/transformers/_classic_cdf.py +135 -3
  75. cognite/neat/_graph/transformers/_iodd.py +25 -0
  76. cognite/neat/_graph/transformers/_prune_graph.py +126 -0
  77. cognite/neat/{graph → _graph}/transformers/_rdfpath.py +3 -3
  78. cognite/neat/_graph/transformers/_value_type.py +66 -0
  79. cognite/neat/{issues → _issues}/_base.py +32 -17
  80. cognite/neat/{issues → _issues}/errors/__init__.py +1 -1
  81. cognite/neat/{issues → _issues}/errors/_external.py +8 -8
  82. cognite/neat/{issues → _issues}/errors/_general.py +5 -5
  83. cognite/neat/{issues → _issues}/errors/_properties.py +7 -7
  84. cognite/neat/{issues → _issues}/errors/_resources.py +11 -11
  85. cognite/neat/{issues → _issues}/errors/_workflow.py +5 -5
  86. cognite/neat/{issues → _issues}/warnings/__init__.py +1 -1
  87. cognite/neat/{issues → _issues}/warnings/_external.py +5 -5
  88. cognite/neat/{issues → _issues}/warnings/_general.py +4 -4
  89. cognite/neat/{issues → _issues}/warnings/_models.py +10 -10
  90. cognite/neat/{issues → _issues}/warnings/_properties.py +6 -6
  91. cognite/neat/{issues → _issues}/warnings/_resources.py +5 -5
  92. cognite/neat/{issues → _issues}/warnings/user_modeling.py +9 -9
  93. cognite/neat/_rules/_constants.py +190 -0
  94. cognite/neat/{rules → _rules}/_shared.py +5 -5
  95. cognite/neat/_rules/analysis/__init__.py +5 -0
  96. cognite/neat/{rules → _rules}/analysis/_asset.py +5 -5
  97. cognite/neat/{rules → _rules}/analysis/_base.py +5 -5
  98. cognite/neat/_rules/analysis/_dms.py +43 -0
  99. cognite/neat/{rules → _rules}/analysis/_information.py +12 -6
  100. cognite/neat/_rules/catalog/__init__.py +6 -0
  101. cognite/neat/_rules/catalog/info-rules-imf.xlsx +0 -0
  102. cognite/neat/{rules → _rules}/exporters/__init__.py +2 -0
  103. cognite/neat/{rules → _rules}/exporters/_base.py +3 -3
  104. cognite/neat/{rules → _rules}/exporters/_rules2dms.py +5 -5
  105. cognite/neat/{rules → _rules}/exporters/_rules2excel.py +26 -7
  106. cognite/neat/_rules/exporters/_rules2instance_template.py +152 -0
  107. cognite/neat/{rules → _rules}/exporters/_rules2ontology.py +10 -9
  108. cognite/neat/{rules → _rules}/exporters/_rules2yaml.py +1 -3
  109. cognite/neat/{rules → _rules}/exporters/_validation.py +2 -2
  110. cognite/neat/{rules → _rules}/importers/_base.py +3 -3
  111. cognite/neat/{rules → _rules}/importers/_dms2rules.py +9 -9
  112. cognite/neat/{rules → _rules}/importers/_dtdl2rules/dtdl_converter.py +7 -7
  113. cognite/neat/{rules → _rules}/importers/_dtdl2rules/dtdl_importer.py +9 -9
  114. cognite/neat/{rules → _rules}/importers/_dtdl2rules/spec.py +1 -1
  115. cognite/neat/_rules/importers/_rdf/_base.py +144 -0
  116. cognite/neat/{rules → _rules}/importers/_rdf/_imf2rules/_imf2classes.py +1 -1
  117. cognite/neat/{rules → _rules}/importers/_rdf/_imf2rules/_imf2metadata.py +4 -4
  118. cognite/neat/{rules → _rules}/importers/_rdf/_imf2rules/_imf2properties.py +2 -1
  119. cognite/neat/{rules → _rules}/importers/_rdf/_imf2rules/_imf2rules.py +8 -39
  120. cognite/neat/{rules → _rules}/importers/_rdf/_inference2rules.py +33 -106
  121. cognite/neat/{rules → _rules}/importers/_rdf/_owl2rules/_owl2classes.py +1 -1
  122. cognite/neat/{rules → _rules}/importers/_rdf/_owl2rules/_owl2metadata.py +5 -5
  123. cognite/neat/{rules → _rules}/importers/_rdf/_owl2rules/_owl2properties.py +1 -1
  124. cognite/neat/_rules/importers/_rdf/_owl2rules/_owl2rules.py +39 -0
  125. cognite/neat/{rules → _rules}/importers/_rdf/_shared.py +4 -4
  126. cognite/neat/{rules → _rules}/importers/_spreadsheet2rules.py +40 -6
  127. cognite/neat/{rules → _rules}/importers/_yaml2rules.py +5 -5
  128. cognite/neat/{rules → _rules}/models/__init__.py +5 -5
  129. cognite/neat/{rules → _rules}/models/_base_input.py +30 -11
  130. cognite/neat/{rules → _rules}/models/_base_rules.py +22 -8
  131. cognite/neat/{rules → _rules}/models/_rdfpath.py +1 -1
  132. cognite/neat/_rules/models/_types.py +151 -0
  133. cognite/neat/{rules → _rules}/models/asset/_rules.py +4 -4
  134. cognite/neat/{rules → _rules}/models/asset/_rules_input.py +4 -4
  135. cognite/neat/{rules → _rules}/models/asset/_validation.py +7 -7
  136. cognite/neat/{rules → _rules}/models/data_types.py +15 -12
  137. cognite/neat/{rules → _rules}/models/dms/_exporter.py +60 -12
  138. cognite/neat/{rules → _rules}/models/dms/_rules.py +29 -26
  139. cognite/neat/{rules → _rules}/models/dms/_rules_input.py +4 -4
  140. cognite/neat/{rules → _rules}/models/dms/_schema.py +15 -14
  141. cognite/neat/{rules → _rules}/models/dms/_validation.py +8 -8
  142. cognite/neat/{rules → _rules}/models/domain.py +6 -6
  143. cognite/neat/{rules → _rules}/models/entities/__init__.py +1 -2
  144. cognite/neat/_rules/models/entities/_constants.py +15 -0
  145. cognite/neat/{rules → _rules}/models/entities/_loaders.py +2 -2
  146. cognite/neat/{rules → _rules}/models/entities/_multi_value.py +15 -2
  147. cognite/neat/{rules → _rules}/models/entities/_single_value.py +16 -4
  148. cognite/neat/{rules → _rules}/models/information/_rules.py +37 -25
  149. cognite/neat/{rules → _rules}/models/information/_rules_input.py +3 -3
  150. cognite/neat/{rules → _rules}/models/information/_validation.py +6 -5
  151. cognite/neat/_rules/models/mapping/__init__.py +4 -0
  152. cognite/neat/_rules/models/mapping/_base.py +131 -0
  153. cognite/neat/_rules/models/mapping/_classic2core.py +150 -0
  154. cognite/neat/{rules → _rules}/transformers/__init__.py +15 -2
  155. cognite/neat/{rules → _rules}/transformers/_base.py +3 -3
  156. cognite/neat/{rules → _rules}/transformers/_converters.py +289 -20
  157. cognite/neat/{rules/transformers/_map_onto.py → _rules/transformers/_mapping.py} +46 -4
  158. cognite/neat/{rules → _rules}/transformers/_pipelines.py +4 -4
  159. cognite/neat/{rules → _rules}/transformers/_verification.py +10 -4
  160. cognite/neat/_session/__init__.py +3 -0
  161. cognite/neat/_session/_base.py +86 -0
  162. cognite/neat/_session/_prepare.py +61 -0
  163. cognite/neat/_session/_read.py +118 -0
  164. cognite/neat/_session/_show.py +96 -0
  165. cognite/neat/_session/_state.py +69 -0
  166. cognite/neat/_session/_to.py +70 -0
  167. cognite/neat/_session/_wizard.py +39 -0
  168. cognite/neat/_session/exceptions.py +42 -0
  169. cognite/neat/{store → _store}/_base.py +63 -32
  170. cognite/neat/{store → _store}/_provenance.py +11 -1
  171. cognite/neat/{utils → _utils}/auth.py +14 -3
  172. cognite/neat/{utils → _utils}/auxiliary.py +1 -1
  173. cognite/neat/{utils → _utils}/cdf/loaders/_data_modeling.py +8 -2
  174. cognite/neat/{utils → _utils}/cdf/loaders/_ingestion.py +1 -1
  175. cognite/neat/{utils → _utils}/upload.py +1 -1
  176. cognite/neat/_version.py +1 -1
  177. cognite/neat/_workflows/__init__.py +17 -0
  178. cognite/neat/{workflows → _workflows}/base.py +10 -10
  179. cognite/neat/{workflows → _workflows}/cdf_store.py +3 -3
  180. cognite/neat/{workflows → _workflows}/examples/Export_DMS/workflow.yaml +89 -89
  181. cognite/neat/{workflows → _workflows}/manager.py +6 -6
  182. cognite/neat/{workflows → _workflows}/steps/data_contracts.py +3 -3
  183. cognite/neat/{workflows → _workflows}/steps/lib/current/graph_extractor.py +8 -31
  184. cognite/neat/{workflows → _workflows}/steps/lib/current/graph_loader.py +4 -4
  185. cognite/neat/{workflows → _workflows}/steps/lib/current/graph_store.py +4 -4
  186. cognite/neat/{workflows → _workflows}/steps/lib/current/rules_exporter.py +8 -8
  187. cognite/neat/{workflows → _workflows}/steps/lib/current/rules_importer.py +13 -13
  188. cognite/neat/{workflows → _workflows}/steps/lib/current/rules_validator.py +8 -8
  189. cognite/neat/{workflows → _workflows}/steps/lib/io/io_steps.py +3 -3
  190. cognite/neat/{workflows → _workflows}/steps/step_model.py +3 -3
  191. cognite/neat/{workflows → _workflows}/steps_registry.py +9 -9
  192. cognite/neat/{workflows → _workflows}/tasks.py +1 -1
  193. cognite/neat/{workflows → _workflows}/triggers.py +2 -2
  194. {cognite_neat-0.92.2.dist-info → cognite_neat-0.93.0.dist-info}/METADATA +6 -2
  195. cognite_neat-0.93.0.dist-info/RECORD +276 -0
  196. {cognite_neat-0.92.2.dist-info → cognite_neat-0.93.0.dist-info}/WHEEL +1 -1
  197. cognite_neat-0.93.0.dist-info/entry_points.txt +3 -0
  198. cognite/neat/app/api/context_manager/__init__.py +0 -3
  199. cognite/neat/graph/_shared.py +0 -5
  200. cognite/neat/graph/extractors/_iodd.py +0 -160
  201. cognite/neat/graph/extractors/_rdf_file.py +0 -26
  202. cognite/neat/rules/analysis/__init__.py +0 -6
  203. cognite/neat/rules/examples/__init__.py +0 -10
  204. cognite/neat/rules/examples/info-rules-imf.xlsx +0 -0
  205. cognite/neat/rules/examples/wind-energy.owl +0 -1511
  206. cognite/neat/rules/importers/_rdf/_owl2rules/_owl2rules.py +0 -65
  207. cognite/neat/rules/models/_types.py +0 -96
  208. cognite/neat/rules/models/entities/_constants.py +0 -73
  209. cognite/neat/utils/regex_patterns.py +0 -58
  210. cognite/neat/workflows/__init__.py +0 -12
  211. cognite_neat-0.92.2.dist-info/RECORD +0 -224
  212. cognite_neat-0.92.2.dist-info/entry_points.txt +0 -3
  213. /cognite/neat/{app → _app}/api/__init__.py +0 -0
  214. /cognite/neat/{app → _app}/api/asgi/metrics.py +0 -0
  215. /cognite/neat/{app → _app}/api/data_classes/__init__.py +0 -0
  216. /cognite/neat/{app → _app}/api/data_classes/rest.py +0 -0
  217. /cognite/neat/{app → _app}/api/routers/metrics.py +0 -0
  218. /cognite/neat/{app → _app}/api/utils/__init__.py +0 -0
  219. /cognite/neat/{app → _app}/api/utils/data_mapping.py +0 -0
  220. /cognite/neat/{app → _app}/api/utils/logging.py +0 -0
  221. /cognite/neat/{app → _app}/api/utils/query_templates.py +0 -0
  222. /cognite/neat/{app → _app}/monitoring/__init__.py +0 -0
  223. /cognite/neat/{app → _app}/monitoring/metrics.py +0 -0
  224. /cognite/neat/{app → _app}/ui/index.html +0 -0
  225. /cognite/neat/{app → _app}/ui/neat-app/.gitignore +0 -0
  226. /cognite/neat/{app → _app}/ui/neat-app/README.md +0 -0
  227. /cognite/neat/{app → _app}/ui/neat-app/build/asset-manifest.json +0 -0
  228. /cognite/neat/{app → _app}/ui/neat-app/build/favicon.ico +0 -0
  229. /cognite/neat/{app → _app}/ui/neat-app/build/img/architect-icon.svg +0 -0
  230. /cognite/neat/{app → _app}/ui/neat-app/build/img/developer-icon.svg +0 -0
  231. /cognite/neat/{app → _app}/ui/neat-app/build/img/sme-icon.svg +0 -0
  232. /cognite/neat/{app → _app}/ui/neat-app/build/index.html +0 -0
  233. /cognite/neat/{app → _app}/ui/neat-app/build/logo192.png +0 -0
  234. /cognite/neat/{app → _app}/ui/neat-app/build/manifest.json +0 -0
  235. /cognite/neat/{app → _app}/ui/neat-app/build/robots.txt +0 -0
  236. /cognite/neat/{app → _app}/ui/neat-app/build/static/css/main.72e3d92e.css +0 -0
  237. /cognite/neat/{app → _app}/ui/neat-app/build/static/css/main.72e3d92e.css.map +0 -0
  238. /cognite/neat/{app → _app}/ui/neat-app/build/static/js/main.5a52cf09.js +0 -0
  239. /cognite/neat/{app → _app}/ui/neat-app/build/static/js/main.5a52cf09.js.LICENSE.txt +0 -0
  240. /cognite/neat/{app → _app}/ui/neat-app/build/static/js/main.5a52cf09.js.map +0 -0
  241. /cognite/neat/{app → _app}/ui/neat-app/build/static/media/logo.8093b84df9ed36a174c629d6fe0b730d.svg +0 -0
  242. /cognite/neat/{graph → _graph}/__init__.py +0 -0
  243. /cognite/neat/{graph → _graph}/_tracking/__init__.py +0 -0
  244. /cognite/neat/{graph → _graph}/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
  245. /cognite/neat/{graph → _graph}/examples/Knowledge-Graph-Nordic44.xml +0 -0
  246. /cognite/neat/{graph → _graph}/examples/__init__.py +0 -0
  247. /cognite/neat/{graph → _graph}/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
  248. /cognite/neat/{graph → _graph}/extractors/_classic_cdf/__init__.py +0 -0
  249. /cognite/neat/{graph → _graph}/loaders/__init__.py +0 -0
  250. /cognite/neat/{graph → _graph}/models.py +0 -0
  251. /cognite/neat/{graph → _graph}/queries/__init__.py +0 -0
  252. /cognite/neat/{graph → _graph}/transformers/_base.py +0 -0
  253. /cognite/neat/{issues → _issues}/__init__.py +0 -0
  254. /cognite/neat/{issues → _issues}/formatters.py +0 -0
  255. /cognite/neat/{rules → _rules}/__init__.py +0 -0
  256. /cognite/neat/{rules → _rules}/importers/__init__.py +0 -0
  257. /cognite/neat/{rules → _rules}/importers/_dtdl2rules/__init__.py +0 -0
  258. /cognite/neat/{rules → _rules}/importers/_dtdl2rules/_unit_lookup.py +0 -0
  259. /cognite/neat/{rules → _rules}/importers/_rdf/__init__.py +0 -0
  260. /cognite/neat/{rules → _rules}/importers/_rdf/_imf2rules/__init__.py +0 -0
  261. /cognite/neat/{rules → _rules}/importers/_rdf/_owl2rules/__init__.py +0 -0
  262. /cognite/neat/{rules → _rules}/models/asset/__init__.py +0 -0
  263. /cognite/neat/{rules → _rules}/models/dms/__init__.py +0 -0
  264. /cognite/neat/{rules → _rules}/models/entities/_types.py +0 -0
  265. /cognite/neat/{rules → _rules}/models/entities/_wrapped.py +0 -0
  266. /cognite/neat/{rules → _rules}/models/information/__init__.py +0 -0
  267. /cognite/neat/{store → _store}/__init__.py +0 -0
  268. /cognite/neat/{utils → _utils}/__init__.py +0 -0
  269. /cognite/neat/{utils → _utils}/cdf/__init__.py +0 -0
  270. /cognite/neat/{utils → _utils}/cdf/data_classes.py +0 -0
  271. /cognite/neat/{utils → _utils}/cdf/loaders/__init__.py +0 -0
  272. /cognite/neat/{utils → _utils}/cdf/loaders/_base.py +0 -0
  273. /cognite/neat/{utils → _utils}/collection_.py +0 -0
  274. /cognite/neat/{utils → _utils}/rdf_.py +0 -0
  275. /cognite/neat/{utils → _utils}/spreadsheet.py +0 -0
  276. /cognite/neat/{utils → _utils}/text.py +0 -0
  277. /cognite/neat/{utils → _utils}/time_.py +0 -0
  278. /cognite/neat/{utils → _utils}/xml_.py +0 -0
  279. /cognite/neat/{workflows → _workflows}/examples/Export_Semantic_Data_Model/workflow.yaml +0 -0
  280. /cognite/neat/{workflows → _workflows}/examples/Import_DMS/workflow.yaml +0 -0
  281. /cognite/neat/{workflows → _workflows}/examples/Validate_Rules/workflow.yaml +0 -0
  282. /cognite/neat/{workflows → _workflows}/examples/Validate_Solution_Model/workflow.yaml +0 -0
  283. /cognite/neat/{workflows → _workflows}/model.py +0 -0
  284. /cognite/neat/{workflows → _workflows}/steps/__init__.py +0 -0
  285. /cognite/neat/{workflows → _workflows}/steps/lib/__init__.py +0 -0
  286. /cognite/neat/{workflows → _workflows}/steps/lib/current/__init__.py +0 -0
  287. /cognite/neat/{workflows → _workflows}/steps/lib/io/__init__.py +0 -0
  288. /cognite/neat/{workflows → _workflows}/utils.py +0 -0
  289. {cognite_neat-0.92.2.dist-info → cognite_neat-0.93.0.dist-info}/LICENSE +0 -0
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "neat-app",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@emotion/react": "^11.10.5",
7
+ "@emotion/styled": "^11.10.5",
8
+ "@fontsource/roboto": "^4.5.8",
9
+ "@monaco-editor/react": "^4.5.1",
10
+ "@mui/base": "^5.0.0-alpha.106",
11
+ "@mui/icons-material": "^5.10.14",
12
+ "@mui/lab": "^5.0.0-alpha.113",
13
+ "@mui/material": "^5.11.1",
14
+ "@mui/x-data-grid": "^5.17.11",
15
+ "@react-sigma/core": "^3.1.0",
16
+ "@react-sigma/layout-circular": "^3.1.0",
17
+ "@react-sigma/layout-core": "^3.1.0",
18
+ "@react-sigma/layout-forceatlas2": "^3.1.0",
19
+ "@testing-library/jest-dom": "^5.16.5",
20
+ "@testing-library/react": "^13.4.0",
21
+ "@testing-library/user-event": "^13.5.0",
22
+ "@textea/json-viewer": "^2.14.1",
23
+ "graphology": "^0.25.1",
24
+ "graphology-layout-force": "^0.2.4",
25
+ "graphology-layout-forceatlas2": "^0.10.1",
26
+ "graphology-types": "^0.24.5",
27
+ "lodash": "^4.17.21",
28
+ "parse-prometheus-text-format": "^1.1.1",
29
+ "react": "^18.2.0",
30
+ "react-dom": "^18.2.0",
31
+ "react-mui-fileuploader": "^0.5.2",
32
+ "react-scripts": "^5.0.1",
33
+ "reactflow": "^11.3.0",
34
+ "sigma": "^2.4.0",
35
+ "web-vitals": "^2.1.4"
36
+ },
37
+ "scripts": {
38
+ "start": "react-scripts start",
39
+ "build": "react-scripts build",
40
+ "test": "react-scripts test",
41
+ "eject": "react-scripts eject"
42
+ },
43
+ "eslintConfig": {
44
+ "extends": [
45
+ "react-app",
46
+ "react-app/jest"
47
+ ]
48
+ },
49
+ "browserslist": {
50
+ "production": [
51
+ ">0.2%",
52
+ "not dead",
53
+ "not op_mini all"
54
+ ],
55
+ "development": [
56
+ "last 1 chrome version",
57
+ "last 1 firefox version",
58
+ "last 1 safari version"
59
+ ]
60
+ },
61
+ "homepage": "."
62
+ }
@@ -0,0 +1,116 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ version="1.1"
6
+ id="svg2"
7
+ width="5164"
8
+ height="5164"
9
+ viewBox="0 0 5164 5164"
10
+ sodipodi:docname="vecteezy_project-manager-icon-style_21267496.eps"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ xmlns:svg="http://www.w3.org/2000/svg">
15
+ <defs
16
+ id="defs6" />
17
+ <sodipodi:namedview
18
+ id="namedview4"
19
+ pagecolor="#ffffff"
20
+ bordercolor="#000000"
21
+ borderopacity="0.25"
22
+ inkscape:showpageshadow="2"
23
+ inkscape:pageopacity="0.0"
24
+ inkscape:pagecheckerboard="0"
25
+ inkscape:deskcolor="#d1d1d1" />
26
+ <g
27
+ id="g8"
28
+ inkscape:groupmode="layer"
29
+ inkscape:label="ink_ext_XXXXXX"
30
+ transform="matrix(1.3333333,0,0,-1.3333333,0,5164)">
31
+ <g
32
+ id="g10"
33
+ transform="scale(0.1)">
34
+ <path
35
+ d="m 19361,11481 c -221,0 -402,181 -402,402 v 10622 c 0,221 181,402 402,402 221,0 402,-181 402,-402 V 11883 c 0,-221 -181,-402 -402,-402 v 0"
36
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
37
+ id="path12" />
38
+ <path
39
+ d="m 14137,16910 c -221,0 -402,181 -402,402 v 1773 c 0,221 181,402 394,402 221,0 402,-181 402,-402 v -1773 c 0,-228 -182,-402 -394,-402"
40
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
41
+ id="path14" />
42
+ <path
43
+ d="M 26949,16903 H 11788 c -520,0 -938,418 -938,938 v 2096 c 0,1371 867,2616 2151,3097 8,0 8,0 16,8 l 3853,1261 v 1332 c 0,221 181,402 402,402 221,0 402,-181 402,-402 v -1615 c 0,-173 -110,-323 -276,-378 l -4121,-1347 c -969,-362 -1623,-1308 -1623,-2348 v -2096 c 0,-79 63,-142 142,-142 h 15161 c 79,0 142,63 142,142 v 2096 c 0,1040 -654,1986 -1623,2348 l -4114,1345 c -165,55 -276,205 -276,378 v 1576 c 0,221 181,402 402,402 221,0 402,-181 402,-402 v -1292 l 3853,-1261 c 8,0 8,0 16,-8 1284,-481 2151,-1718 2151,-3097 v -2096 c -23,-512 -448,-937 -961,-937 v 0"
44
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
45
+ id="path16" />
46
+ <path
47
+ d="m 24601,16910 c -221,0 -402,181 -402,402 v 1773 c 0,221 181,402 394,402 221,0 402,-181 402,-402 v -1773 c 0,-228 -173,-402 -394,-402"
48
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
49
+ id="path18" />
50
+ <path
51
+ d="m 21441,20685 c -134,0 -276,39 -394,126 l -1915,1371 c -8,0 -8,8 -16,8 l -2088,1497 c -181,126 -221,378 -95,559 126,181 378,221 552,95 l 2104,-1513 c 8,0 8,-8 16,-8 l 1812,-1300 1986,2041 c 150,158 402,158 559,8 158,-150 158,-402 8,-559 l -2057,-2120 c -125,-134 -298,-205 -472,-205 z m -86,756 v 0 0"
52
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
53
+ id="path20" />
54
+ <path
55
+ d="m 17296,20685 c -173,0 -355,71 -489,205 l -2057,2120 c -150,158 -150,410 8,559 158,149 410,150 559,-8 l 1986,-2041 1828,1308 c 8,0 8,8 16,8 l 2088,1505 c 181,126 426,87 552,-87 126,-181 87,-426 -95,-559 l -2096,-1513 c -8,0 -8,-8 -16,-8 l -1899,-1363 c -109,-87 -251,-126 -385,-126 z m 87,756 v 0 0"
56
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
57
+ id="path22" />
58
+ <path
59
+ d="m 23285,24420 h -1812 c -221,0 -394,181 -394,402 0,221 181,402 394,402 h 1812 c 433,0 788,323 788,725 v 6603 c 0,173 -16,331 -47,473 -252,1111 -1229,1292 -1269,1300 -79,16 -158,55 -221,110 -2025,2041 -4074,1671 -5437,1001 -575,-284 -1103,-670 -1521,-1127 -591,-646 -922,-1481 -922,-2356 v -6005 c 0,-394 355,-725 788,-725 h 1812 c 221,0 402,-181 402,-402 0,-221 -181,-402 -402,-402 h -1812 c -875,0 -1584,678 -1584,1521 v 6005 c 0,1072 402,2096 1127,2892 481,528 1087,977 1749,1300 1292,638 3822,1332 6272,-1072 394,-102 1481,-504 1789,-1875 47,-205 71,-410 71,-646 v -6603 c 1,-835 -708,-1521 -1583,-1521 v 0"
60
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
61
+ id="path24" />
62
+ <path
63
+ d="m 19392,24515 c -2175,0 -4035,1852 -4145,4121 v 8 l -55,2624 c 0,126 55,244 158,323 102,79 229,102 355,63 32,-8 2821,-780 5248,1080 95,71 221,95 331,71 118,-32 213,-102 268,-213 24,-39 536,-1048 1537,-922 110,16 229,-24 315,-95 87,-79 134,-181 134,-299 v -2624 c 0,-8 0,-16 0,-16 -111,-2277 -1963,-4121 -4146,-4121 z m -3341,4152 c 87,-1820 1623,-3357 3349,-3357 1726,0 3254,1537 3349,3357 v 2207 c -820,63 -1363,599 -1655,985 -2017,-1355 -4129,-1229 -5083,-1072 l 40,-2120 v 0"
64
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
65
+ id="path26" />
66
+ <path
67
+ d="m 8108,11655 c -221,0 -402,181 -402,402 v 749 c 0,883 717,1600 1600,1600 h 5681 c 441,0 804,362 804,804 v 2096 c 0,221 181,402 402,402 221,0 402,-181 402,-402 v -2096 c 0,-883 -717,-1600 -1600,-1600 H 9314 c -441,0 -804,-362 -804,-804 v -749 c 0,-221 -181,-402 -402,-402"
68
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
69
+ id="path28" />
70
+ <path
71
+ d="m 30621,11655 c -221,0 -402,181 -402,402 v 749 c 0,441 -362,804 -804,804 h -5681 c -883,0 -1600,717 -1600,1600 v 2096 c 0,221 181,402 394,402 221,0 402,-181 402,-402 v -2096 c 0,-441 362,-804 804,-804 h 5681 c 883,0 1600,-717 1600,-1600 v -749 c 8,-221 -173,-402 -394,-402 v 0"
72
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
73
+ id="path30" />
74
+ <path
75
+ d="M 10992,4988 H 5224 c -221,0 -402,181 -402,402 v 6666 c 0,221 181,402 394,402 h 5768 c 221,0 402,-181 402,-402 V 5390 c 8,-221 -173,-402 -394,-402 z m -5366,796 h 4972 v 5871 H 5626 V 5784"
76
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
77
+ id="path32" />
78
+ <path
79
+ d="m 33505,4988 h -5768 c -221,0 -402,181 -402,402 v 6666 c 0,221 181,402 394,402 h 5768 c 221,0 394,-181 394,-402 V 5390 c 8,-221 -165,-402 -386,-402 z m -5366,796 h 4972 v 5871 h -4972 v -5871 0"
80
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
81
+ id="path34" />
82
+ <path
83
+ d="m 20078,1978 h -1434 c -260,0 -520,142 -662,347 -118,173 -134,370 -63,559 l 150,370 c -189,63 -370,142 -552,229 l -158,-370 c -79,-181 -236,-307 -433,-347 -244,-47 -528,39 -709,221 l -1009,1009 c -181,181 -268,465 -221,709 39,205 165,362 355,433 l 370,158 c -87,181 -165,362 -229,552 l -370,-150 c -181,-79 -386,-55 -559,63 -205,134 -347,402 -347,662 v 1434 c 0,260 142,520 347,662 173,110 370,134 559,63 l 370,-150 c 63,189 142,370 229,552 l -370,158 c -181,79 -307,236 -355,433 -47,244 39,528 221,709 l 1009,1009 c 181,181 465,268 709,221 205,-39 362,-165 433,-355 l 158,-370 c 181,87 362,165 552,229 l -150,370 c -79,181 -55,386 63,559 142,205 402,347 662,347 h 1434 c 252,0 520,-142 662,-347 110,-173 134,-370 63,-559 l -150,-370 c 189,-63 370,-142 552,-229 l 158,370 c 79,181 236,307 433,355 244,47 528,-39 709,-221 l 1009,-1009 c 181,-181 268,-465 221,-709 -39,-205 -165,-362 -355,-433 l -370,-158 c 87,-181 165,-362 229,-552 l 370,150 c 181,79 386,55 559,-63 205,-142 347,-402 347,-662 V 6423 c 0,-260 -142,-520 -347,-662 -173,-118 -370,-134 -559,-63 l -370,150 c -63,-189 -142,-370 -229,-552 l 370,-158 c 181,-79 307,-236 355,-433 47,-244 -39,-528 -221,-709 L 22505,2987 c -181,-181 -465,-268 -709,-221 -205,39 -362,165 -433,347 l -158,370 c -181,-87 -362,-165 -552,-229 l 150,-370 c 79,-181 55,-386 -63,-559 -142,-205 -402,-347 -662,-347 z m -2742,2474 c 79,0 150,-24 221,-63 355,-229 733,-394 1150,-473 118,-24 213,-95 268,-205 55,-102 63,-229 16,-339 l -244,-591 h 1237 l -244,591 c -47,110 -39,236 16,339 55,102 158,181 268,205 410,87 796,244 1150,473 102,63 221,87 339,47 110,-32 205,-118 252,-229 l 244,-591 875,875 -591,244 c -110,47 -197,134 -229,252 -32,110 -16,236 47,339 229,347 394,733 473,1143 24,118 95,213 205,268 102,55 229,63 339,16 l 591,-244 v 1237 l -591,-244 c -110,-47 -236,-39 -339,16 -103,55 -181,158 -205,268 -87,410 -244,796 -473,1150 -63,102 -87,221 -47,339 32,110 118,205 229,252 l 591,244 -875,875 -244,-591 c -47,-110 -134,-197 -252,-229 -110,-32 -236,-16 -339,47 -355,229 -733,394 -1150,473 -118,24 -213,102 -268,205 -55,102 -63,229 -16,339 l 244,591 h -1237 l 244,-591 c 47,-110 39,-236 -16,-339 -55,-102 -158,-181 -268,-205 -410,-87 -796,-244 -1143,-473 -102,-63 -221,-87 -339,-47 -110,32 -205,118 -252,229 l -244,591 -875,-875 591,-244 c 110,-47 197,-134 229,-252 32,-110 16,-236 -47,-339 -229,-347 -394,-733 -473,-1143 -24,-118 -95,-213 -205,-276 -102,-55 -229,-63 -339,-16 l -591,244 V 6508 l 591,244 c 110,47 236,39 339,-16 103,-55 181,-158 205,-268 87,-410 244,-796 473,-1143 63,-102 87,-221 47,-339 -32,-110 -118,-205 -229,-252 l -591,-244 875,-875 244,591 c 47,110 134,197 252,229 32,9 71,17 111,17 v 0"
84
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
85
+ id="path36" />
86
+ <path
87
+ d="m 19361,4500 c -1450,0 -2624,1182 -2624,2624 0,1450 1182,2624 2624,2624 1450,0 2624,-1182 2624,-2624 8,-1442 -1174,-2624 -2624,-2624 z m 0,4460 c -1009,0 -1828,-820 -1828,-1828 0,-1009 820,-1828 1828,-1828 1008,0 1828,820 1828,1828 8,1008 -812,1828 -1828,1828"
88
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
89
+ id="path38" />
90
+ <path
91
+ d="M 9424,9976 H 6800 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 2624 c 221,0 402,-181 402,-402 -8,-221 -181,-402 -402,-402"
92
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
93
+ id="path40" />
94
+ <path
95
+ d="M 9424,8321 H 6800 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 2624 c 221,0 402,-181 402,-402 -8,-220 -181,-402 -402,-402"
96
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
97
+ id="path42" />
98
+ <path
99
+ d="M 9424,6667 H 6800 c -221,0 -402,181 -402,402 0,221 182,401 402,401 h 2624 c 221,0 402,-181 402,-402 -8,-220 -181,-401 -402,-401"
100
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
101
+ id="path44" />
102
+ <path
103
+ d="m 31937,9976 h -2624 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 2624 c 221,0 402,-181 402,-402 -8,-221 -189,-402 -402,-402"
104
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
105
+ id="path46" />
106
+ <path
107
+ d="m 31937,8321 h -2624 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 2624 c 221,0 402,-181 402,-402 -8,-220 -189,-402 -402,-402"
108
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
109
+ id="path48" />
110
+ <path
111
+ d="m 31937,6667 h -2624 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 2624 c 221,0 402,-181 402,-402 -8,-221 -189,-402 -402,-402"
112
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
113
+ id="path50" />
114
+ </g>
115
+ </g>
116
+ </svg>
@@ -0,0 +1,112 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ version="1.1"
6
+ id="svg2"
7
+ width="5164"
8
+ height="5164"
9
+ viewBox="0 0 5164 5164"
10
+ sodipodi:docname="vecteezy_citizen-developer-male-icon-style_21265000.eps"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ xmlns:svg="http://www.w3.org/2000/svg">
15
+ <defs
16
+ id="defs6" />
17
+ <sodipodi:namedview
18
+ id="namedview4"
19
+ pagecolor="#ffffff"
20
+ bordercolor="#000000"
21
+ borderopacity="0.25"
22
+ inkscape:showpageshadow="2"
23
+ inkscape:pageopacity="0.0"
24
+ inkscape:pagecheckerboard="0"
25
+ inkscape:deskcolor="#d1d1d1" />
26
+ <g
27
+ id="g8"
28
+ inkscape:groupmode="layer"
29
+ inkscape:label="ink_ext_XXXXXX"
30
+ transform="matrix(1.3333333,0,0,-1.3333333,0,5164)">
31
+ <g
32
+ id="g10"
33
+ transform="scale(0.1)">
34
+ <path
35
+ d="M 35554,10670 H 20795 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 14759 c 221,0 394,181 394,394 v 3073 c 0,1608 -1009,3057 -2514,3625 l -6052,1986 c -165,55 -276,205 -276,378 v 2380 c 0,221 181,402 402,402 221,0 402,-181 402,-402 v -2088 l 5784,-1899 c 8,0 8,0 16,-8 1820,-678 3042,-2435 3042,-4373 v -3073 c -8,-664 -536,-1199 -1198,-1199 z m -16579,9085 c -165,0 -323,102 -378,276 -71,213 47,433 252,504 l 2080,686 v 2088 c 0,221 181,402 402,402 221,0 402,-181 402,-402 v -2380 c 0,-173 -110,-323 -276,-378 l -2356,-772 c -39,-16 -87,-24 -126,-24 v 0"
36
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
37
+ id="path12" />
38
+ <path
39
+ d="m 32111,10670 c -221,0 -402,181 -402,402 v 2608 c 0,221 181,402 402,402 221,0 402,-181 402,-402 v -2608 c -8,-221 -190,-402 -402,-402"
40
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
41
+ id="path14" />
42
+ <path
43
+ d="m 29045,27950 c -39,0 -71,8 -110,16 -213,63 -339,276 -276,489 79,276 205,559 339,859 496,1095 1056,2332 -181,4342 -16,32 -32,63 -39,95 -8,32 -252,756 -1198,1340 -1284,788 -3254,898 -5697,315 -32,-8 -63,-8 -95,-8 h -2813 l 1150,-1237 c 79,-87 110,-197 102,-307 -8,-110 -71,-213 -158,-284 -87,-63 -2191,-1702 47,-4886 126,-181 87,-426 -95,-552 -181,-126 -426,-87 -552,95 -1395,1986 -1300,3499 -969,4421 205,583 536,1009 772,1269 l -1489,1608 c -110,118 -134,284 -71,433 63,142 205,236 362,236 h 3680 c 2711,630 4830,481 6312,-465 1017,-646 1379,-1466 1458,-1686 1426,-2356 693,-3979 205,-5051 -126,-284 -236,-520 -299,-741 -46,-190 -211,-301 -385,-301 v 0"
44
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
45
+ id="path16" />
46
+ <path
47
+ d="m 24420,21725 c -1340,0 -2592,520 -3546,1466 -953,953 -1481,2214 -1481,3562 v 2293 c 0,165 8,323 24,489 32,307 102,591 189,859 378,1080 1182,1789 2451,2175 8,0 16,8 24,8 95,24 2143,504 3444,-780 481,205 1474,536 2372,173 654,-260 1111,-812 1371,-1647 118,-370 173,-780 173,-1206 v -2364 c 0,-2758 -2238,-5012 -4996,-5027 -9,-1 -17,-1 -25,-1 z m 24,394 v 0 z m -2160,9685 c -1324,-410 -1726,-1111 -1923,-1678 -71,-213 -126,-441 -150,-686 -16,-126 -24,-260 -24,-402 v -2293 c 0,-1135 441,-2198 1245,-3002 804,-796 1875,-1237 3010,-1229 v 0 c 2317,16 4208,1915 4208,4232 v 2363 c 0,347 -47,670 -142,969 -181,591 -489,977 -906,1143 -859,347 -1970,-260 -1986,-268 -173,-95 -386,-55 -504,102 -913,1150 -2686,780 -2828,749 v 0"
48
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
49
+ id="path18" />
50
+ <path
51
+ d="m 24420,10670 c -221,0 -402,181 -402,402 v 7636 c 0,221 181,402 402,402 221,0 402,-173 402,-394 v -7644 c -8,-221 -181,-402 -402,-402"
52
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
53
+ id="path20" />
54
+ <path
55
+ d="m 27462,16217 c -165,0 -331,47 -473,150 l -2797,2017 c -8,8 -8,8 -16,16 l -3073,2206 c -181,126 -221,378 -95,552 126,181 378,221 552,95 l 3089,-2214 c 8,-8 8,-8 16,-16 l 2789,-2002 c 8,0 8,0 16,0 l 3026,3113 c 150,158 402,158 559,8 158,-150 165,-402 8,-559 l -3026,-3113 c -150,-166 -363,-253 -575,-253 v 0"
56
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
57
+ id="path22" />
58
+ <path
59
+ d="m 21378,16217 c -213,0 -426,79 -583,244 l -292,299 c -150,158 -150,410 8,559 158,150 410,150 559,-8 l 292,-299 c 8,-8 8,-8 16,0 l 2813,2017 c 8,8 8,8 16,8 l 3073,2206 c 181,126 426,87 552,-95 126,-181 87,-426 -87,-559 l -3089,-2222 c -8,-8 -8,-8 -16,-8 l -2789,-2002 c -142,-85 -307,-140 -473,-140 v 0"
60
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
61
+ id="path24" />
62
+ <path
63
+ d="M 19668,2159 H 3507 c -835,0 -1521,686 -1521,1521 v 15350 c 0,835 686,1521 1521,1521 h 16170 c 835,0 1521,-686 1521,-1521 V 3680 c -9,-835 -687,-1521 -1530,-1521 z M 3507,19755 c -402,0 -725,-323 -725,-725 V 3680 c 0,-402 323,-725 725,-725 h 16170 c 402,0 725,323 725,725 v 15350 c 0,402 -323,725 -725,725 H 3507 v 0"
64
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
65
+ id="path26" />
66
+ <path
67
+ d="M 20795,15705 H 2380 c -221,0 -402,181 -402,394 0,221 181,402 402,402 h 18408 c 221,0 394,-181 394,-402 7,-213 -166,-394 -387,-394 v 0"
68
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
69
+ id="path28" />
70
+ <path
71
+ d="M 8896,17052 H 5090 c -591,0 -1072,481 -1072,1072 0,591 481,1072 1072,1072 h 3806 c 591,0 1072,-481 1072,-1072 0,-591 -481,-1072 -1072,-1072 z m -3806,1356 c -150,0 -276,-126 -276,-276 0,-158 126,-276 276,-276 h 3806 c 150,0 276,126 276,276 0,158 -126,276 -276,276 H 5090 v 0"
72
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
73
+ id="path30" />
74
+ <path
75
+ d="m 12356,17730 h -1087 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 1087 c 221,0 402,-181 402,-402 0,-221 -182,-402 -402,-402 v 0"
76
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
77
+ id="path32" />
78
+ <path
79
+ d="m 15145,17730 h -1087 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 1087 c 221,0 402,-181 402,-402 -8,-221 -181,-402 -402,-402"
80
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
81
+ id="path34" />
82
+ <path
83
+ d="m 17927,17730 h -1087 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 1087 c 221,0 402,-181 402,-402 0,-221 -182,-402 -402,-402 v 0"
84
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
85
+ id="path36" />
86
+ <path
87
+ d="m 12253,10252 c -158,0 -315,102 -370,260 l -1332,3554 c -79,205 24,433 236,512 205,79 433,-24 512,-236 l 1332,-3554 c 79,-205 -24,-433 -236,-512 -47,-16 -94,-24 -142,-24 v 0"
88
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
89
+ id="path38" />
90
+ <path
91
+ d="m 9156,10252 c -79,0 -150,24 -221,71 l -2640,1773 c -110,71 -173,197 -173,331 0,134 63,260 173,331 l 2632,1773 c 181,126 433,71 552,-110 126,-181 71,-433 -110,-552 L 7226,12419 9369,10969 c 181,-126 229,-370 110,-552 -70,-102 -196,-165 -323,-165"
92
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
93
+ id="path40" />
94
+ <path
95
+ d="m 14018,10252 c -126,0 -252,63 -331,173 -126,181 -71,433 110,552 l 2143,1450 -2143,1450 c -181,126 -229,370 -110,552 126,181 370,229 552,110 l 2632,-1773 c 110,-71 173,-197 173,-331 0,-134 -63,-252 -173,-331 l -2632,-1773 c -63,-55 -142,-79 -221,-79 v 0"
96
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
97
+ id="path42" />
98
+ <path
99
+ d="M 17753,8187 H 5421 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 12332 c 221,0 402,-181 402,-402 -8,-220 -181,-402 -402,-402"
100
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
101
+ id="path44" />
102
+ <path
103
+ d="M 17753,6123 H 5421 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 12332 c 221,0 402,-181 402,-402 -8,-221 -181,-402 -402,-402"
104
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
105
+ id="path46" />
106
+ <path
107
+ d="M 17753,4058 H 5421 c -221,0 -402,181 -402,402 0,221 181,402 402,402 h 12332 c 221,0 402,-181 402,-402 -8,-220 -181,-402 -402,-402"
108
+ style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
109
+ id="path48" />
110
+ </g>
111
+ </g>
112
+ </svg>
@@ -0,0 +1,34 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ version="1.1"
6
+ id="svg2"
7
+ width="2666.6667"
8
+ height="2666.6667"
9
+ viewBox="0 0 2666.6667 2666.6667"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ xmlns:svg="http://www.w3.org/2000/svg">
12
+ <defs
13
+ id="defs6" />
14
+ <g
15
+ id="g8"
16
+ transform="matrix(1.3333333,0,0,-1.3333333,0,2666.6667)">
17
+ <g
18
+ id="g10"
19
+ transform="scale(0.1)">
20
+ <path
21
+ d="M 7475.5,6304.7 C 7333.99,6110.6 7125.34,5983.2 6888,5946 c -237.31,-37.3 -474.96,20.2 -669.1,161.7 -194.15,141.5 -321.56,350.1 -358.78,587.5 -37.22,237.3 20.21,474.9 161.72,669.1 141.51,194.1 350.16,321.5 587.5,358.8 237.33,37.1 474.96,-20.3 669.1,-161.8 194.15,-141.5 321.56,-350.1 358.78,-587.5 37.22,-237.3 -20.21,-474.9 -161.72,-669.1 z m -4.46,1520.9 c -264.73,192.9 -588.73,271.2 -912.36,220.5 -668.07,-104.8 -1126.35,-733.5 -1021.59,-1401.6 50.75,-323.6 224.48,-608.1 489.21,-801.1 212.1,-154.6 462.23,-235.5 719.75,-235.5 63.9,0 128.27,4.9 192.61,15 323.62,50.8 608.11,224.5 801.07,489.2 192.95,264.8 271.27,588.8 220.52,912.4 -50.75,323.6 -224.48,608.1 -489.21,801.1"
22
+ style="fill:#211d1d;fill-opacity:1;fill-rule:nonzero;stroke:none"
23
+ id="path14" />
24
+ <path
25
+ d="m 8851.22,6144.5 -73.87,-191.6 -456.89,-55.4 -41.62,-63.6 c -32.8,-50.2 -68.25,-99 -105.37,-145.2 l -49.54,-61.6 100.59,-441.5 -159.75,-128.9 -422.92,180.2 -67.87,-34.3 c -53.26,-26.9 -108.49,-51.5 -164.19,-73 l -73.89,-28.6 -133.54,-432.4 -202.82,-31.8 -276.31,367.8 -76.04,4.1 c -59.75,3.3 -119.89,9.5 -178.74,18.7 l -78.16,12.1 -331.65,-307.5 -191.55,73.8 -55.47,456.9 -63.6,41.6 c -50.11,32.8 -98.94,68.3 -145.13,105.4 l -61.63,49.5 -441.45,-100.5 -128.95,159.7 180.2,422.9 -34.3,67.9 c -26.92,53.3 -51.48,108.5 -73.01,164.2 l -28.55,73.9 -432.41,133.5 -31.8,202.8 367.73,276.4 4.15,76 c 3.25,59.7 9.53,119.9 18.65,178.7 l 12.1,78.2 -307.5,331.6 73.87,191.6 456.89,55.5 41.62,63.6 c 32.76,50 68.22,98.8 105.38,145.1 l 49.52,61.6 -100.58,441.5 159.75,128.9 422.92,-180.2 67.87,34.3 c 53.25,26.9 108.5,51.5 164.18,73 l 73.89,28.6 133.54,432.4 202.83,31.8 276.31,-367.7 76.04,-4.2 c 59.77,-3.2 119.91,-9.5 178.73,-18.6 l 78.18,-12.1 331.64,307.5 191.55,-73.9 55.47,-456.9 63.6,-41.6 c 50.07,-32.8 98.9,-68.2 145.13,-105.4 l 61.64,-49.5 441.44,100.6 128.95,-159.8 -180.21,-422.9 34.32,-67.9 c 26.89,-53.2 51.45,-108.4 72.98,-164.1 l 28.56,-73.9 432.41,-133.6 31.81,-202.8 -367.73,-276.3 -4.15,-76.1 c -3.25,-59.7 -9.53,-119.8 -18.65,-178.7 l -12.09,-78.2 z m 448.59,797.5 -93.85,598.4 -477.81,147.6 c -7.18,16.7 -14.57,33.3 -22.17,49.8 l 198.3,465.3 -380.48,471.4 -488.03,-111.2 c -14.38,10.7 -28.91,21.2 -43.57,31.6 l -61.03,502.7 -565.18,217.9 -366.66,-339.9 c -18.03,2.1 -36.12,4 -54.21,5.6 L 6641.2,9385.6 6042.77,9291.8 5895.2,8814 c -16.69,-7.2 -33.28,-14.6 -49.78,-22.2 l -465.39,198.3 -471.33,-380.5 111.2,-488 c -10.7,-14.4 -21.23,-28.9 -31.58,-43.6 l -502.74,-61 -217.94,-565.2 339.97,-366.6 c -2.1,-18.1 -3.97,-36.1 -5.63,-54.2 l -404.45,-304 93.84,-598.4 477.82,-147.6 c 7.17,-16.6 14.57,-33.2 22.17,-49.7 l -198.31,-465.4 380.49,-471.4 488.04,111.2 c 14.36,-10.7 28.9,-21.2 43.56,-31.5 l 61.03,-502.8 565.18,-217.9 366.66,339.9 c 18.04,-2.1 36.12,-3.9 54.21,-5.6 l 303.92,-404.4 598.43,93.8 147.57,477.8 c 16.68,7.2 33.29,14.6 49.78,22.2 l 465.39,-198.3 471.33,380.5 -111.21,488 c 10.7,14.4 21.23,28.9 31.59,43.6 l 502.74,61 217.93,565.2 -339.96,366.6 c 2.1,18.1 3.97,36.2 5.62,54.3 l 404.46,303.9"
26
+ style="fill:#211d1d;fill-opacity:1;fill-rule:nonzero;stroke:none"
27
+ id="path16" />
28
+ <path
29
+ d="m 11136.3,8660.4 c -581.2,0 -1053.9,472.8 -1053.9,1054 v 65.8 c 315.2,-149 679.2,-234.2 1066.6,-234.2 377,0 731.8,80.6 1041.2,222.3 v -53.9 c 0,-581.2 -472.8,-1054 -1053.9,-1054 z m -1833.12,2700.3 v 115.6 l -108.91,38.5 c -1.88,0.7 -189.19,70.9 -263.86,236.7 -34.93,77.5 -39.93,167.9 -15.2,269.6 h 4427.89 c 38.1,-115.5 39.7,-214.9 4.5,-296.2 -64.5,-149.1 -237.7,-208 -238.3,-208.2 l -114.5,-36 v -120 c 0,-820.3 -828,-1487.8 -1845.8,-1487.8 -1017.8,0 -1845.82,667.5 -1845.82,1487.8 z m -762.57,1051.4 360.93,159.8 v 636.9 c 0,887.8 620.64,1659 1531.36,1932.4 v -1301.4 h 327 v 1535.5 c 0,2 9.2,14.4 30.7,14.4 h 752.9 c 21.5,0 30.7,-12.4 30.7,-14.4 v -1535.5 h 327 v 1283.5 c 877.8,-288.7 1475.3,-1051.6 1475.3,-1914.5 v -657.4 l 298.1,-159.8 v -43.5 H 8540.61 Z M 9779.37,5780.5 h 6023.13 l -636.8,2547.1 -2654,1268.3 c 3.4,39.1 5.5,78.5 5.5,118.5 v 237.7 c 459.4,311.8 764,776.9 800.8,1301.2 102,54.3 248.9,159 327.7,337.2 57.7,130.4 69.5,274.7 35.9,430.6 h 320 v 566.3 l -298.2,159.7 v 461.7 c 0,1043.6 -741.6,1959.5 -1816.1,2260.5 -42.9,142.6 -180.7,247.3 -343.8,247.3 h -752.9 c -156.8,0 -290.2,-96.7 -338.4,-230.9 -512.42,-131.3 -974.95,-411.1 -1310.91,-795.1 -365.45,-417.8 -566.72,-944 -566.72,-1481.8 v -424.1 L 8213.64,12625 v -603.9 H 8582 c -22.35,-144.3 -5.75,-279.6 50.29,-404 85.19,-189 242.47,-302.7 347.48,-361.1 35.27,-515.6 329.61,-974.2 775.62,-1286.4 v -255.2 c 0,-44.3 2.3,-88 6.39,-131.2 l -887.21,-431.6 143.03,-294 816.68,397.3 c 189.82,-536.2 701.62,-921.4 1302.02,-921.4 604.7,0 1119.6,390.9 1306,933.2 L 14885.8,8099 15383.7,6107.5 H 9779.37 v -327"
30
+ style="fill:#211d1d;fill-opacity:1;fill-rule:nonzero;stroke:none"
31
+ id="path18" />
32
+ </g>
33
+ </g>
34
+ </svg>
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="%PUBLIC_URL%/logo192.png" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta
9
+ name="description"
10
+ content="NEAT controll panel"
11
+ />
12
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
+ <!--
14
+ manifest.json provides metadata used when your web app is installed on a
15
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
+ -->
17
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
+ <!--
19
+ Notice the use of %PUBLIC_URL% in the tags above.
20
+ It will be replaced with the URL of the `public` folder during the build.
21
+ Only files inside the `public` folder can be referenced from the HTML.
22
+
23
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
+ work correctly both with client-side routing and a non-root public URL.
25
+ Learn how to configure a non-root public URL by running `npm run build`.
26
+ -->
27
+ <title>NEAT App</title>
28
+ </head>
29
+ <body>
30
+ <noscript>You need to enable JavaScript to run this app.</noscript>
31
+ <div id="root"></div>
32
+ <!--
33
+ This HTML file is a template.
34
+ If you open it directly in the browser, you will see an empty page.
35
+
36
+ You can add webfonts, meta tags, or analytics to this file.
37
+ The build step will place the bundled scripts into the <body> tag.
38
+
39
+ To begin the development, run `npm start` or `yarn start`.
40
+ To create a production bundle, use `npm run build` or `yarn build`.
41
+ -->
42
+ </body>
43
+ </html>
@@ -0,0 +1,25 @@
1
+ {
2
+ "short_name": "React App",
3
+ "name": "Create React App Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#000000",
24
+ "background_color": "#ffffff"
25
+ }
@@ -0,0 +1,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
@@ -0,0 +1,38 @@
1
+ /* .App {
2
+ text-align: center;
3
+ }
4
+
5
+ .App-logo {
6
+ height: 40vmin;
7
+ pointer-events: none;
8
+ }
9
+
10
+ @media (prefers-reduced-motion: no-preference) {
11
+ .App-logo {
12
+ animation: App-logo-spin infinite 20s linear;
13
+ }
14
+ }
15
+
16
+ .App-header {
17
+ background-color: #282c34;
18
+ min-height: 100vh;
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: center;
22
+ justify-content: center;
23
+ font-size: calc(10px + 2vmin);
24
+ color: white;
25
+ }
26
+
27
+ .App-link {
28
+ color: #61dafb;
29
+ }
30
+
31
+ @keyframes App-logo-spin {
32
+ from {
33
+ transform: rotate(0deg);
34
+ }
35
+ to {
36
+ transform: rotate(360deg);
37
+ }
38
+ } */
@@ -0,0 +1,17 @@
1
+ import logo from './logo.svg';
2
+ import './App.css';
3
+ import * as React from 'react';
4
+ import BasicTabs from './MainContainer.tsx';
5
+ import CssBaseline from '@mui/material/CssBaseline';
6
+
7
+ function App() {
8
+ // window.addEventListener("contextmenu", e => e.preventDefault());
9
+ return (
10
+ <div >
11
+ <BasicTabs/>
12
+ </div>
13
+
14
+ );
15
+ }
16
+
17
+ export default App;
@@ -0,0 +1,8 @@
1
+ import { render, screen } from '@testing-library/react';
2
+ import App from './App';
3
+
4
+ test('renders learn react link', () => {
5
+ render(<App />);
6
+ const linkElement = screen.getByText(/learn react/i);
7
+ expect(linkElement).toBeInTheDocument();
8
+ });
@@ -0,0 +1,70 @@
1
+ import * as React from 'react';
2
+ import Tabs from '@mui/material/Tabs';
3
+ import Tab from '@mui/material/Tab';
4
+ import Box from '@mui/material/Box';
5
+ import WorkflowView from './views/WorkflowView';
6
+ import GlobalConfigView from 'views/GlobalConfigView';
7
+ import AboutView from 'views/AboutView';
8
+
9
+ interface TabPanelProps {
10
+ children?: React.ReactNode;
11
+ index: number;
12
+ value: number;
13
+ }
14
+
15
+ function TabPanel(props: TabPanelProps) {
16
+ const { children, value, index, ...other } = props;
17
+
18
+ return (
19
+ <div
20
+ role="tabpanel"
21
+ hidden={value !== index}
22
+ id={`simple-tabpanel-${index}`}
23
+ aria-labelledby={`simple-tab-${index}`}
24
+ {...other}
25
+ >
26
+ {value === index && (
27
+ <Box sx={{ p: 3 }}>
28
+ {children}
29
+ </Box>
30
+ )}
31
+ </div>
32
+ );
33
+ }
34
+
35
+ function a11yProps(index: number) {
36
+ return {
37
+ id: `simple-tab-${index}`,
38
+ 'aria-controls': `simple-tabpanel-${index}`,
39
+ };
40
+ }
41
+
42
+ export default function BasicTabs() {
43
+ const [value, setValue] = React.useState(0);
44
+
45
+ const handleChange = (event: React.SyntheticEvent, newValue: number) => {
46
+ setValue(newValue);
47
+ };
48
+
49
+ return (
50
+ <Box sx={{ width: '100%' }}>
51
+ <Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
52
+ <Tabs value={value} onChange={handleChange} aria-label="basic tabs example">
53
+ <Tab label="Workflows" {...a11yProps(0)} />
54
+ <Tab label="Global Configuration" {...a11yProps(1)} />
55
+ <Tab label="About" {...a11yProps(2)} />
56
+ </Tabs>
57
+ </Box>
58
+ <TabPanel value={value} index={0}>
59
+ <WorkflowView/>
60
+ </TabPanel>
61
+ <TabPanel value={value} index={1}>
62
+ <GlobalConfigView />
63
+ </TabPanel>
64
+ <TabPanel value={value} index={2}>
65
+ <AboutView />
66
+ </TabPanel>
67
+
68
+ </Box>
69
+ );
70
+ }
@@ -0,0 +1,43 @@
1
+ import Button from '@mui/material/Button';
2
+ import Dialog from '@mui/material/Dialog';
3
+ import DialogActions from '@mui/material/DialogActions';
4
+ import DialogContent from '@mui/material/DialogContent';
5
+ import DialogTitle from '@mui/material/DialogTitle';
6
+ import React, { useEffect } from 'react';
7
+ import { useState } from 'react';
8
+ import { JsonViewer } from '@textea/json-viewer'
9
+
10
+ export default function NJsonViewer(props: any) {
11
+ const [dialogOpen, setDialogOpen] = useState(false);
12
+ const [data, setData] = useState<any>({});
13
+ const [buttonLabel, setButtonLabel] = useState<any>(props.label ? props.label:"View full report");
14
+
15
+ useEffect(() => {
16
+ setData(props.data);
17
+ }, [props.data]);
18
+
19
+ const handleDialogClickOpen = () => {
20
+ setDialogOpen(true);
21
+ if (props.onOpen) {
22
+ props.onOpen();
23
+ }
24
+ };
25
+
26
+ const handleDialogClose = () => {
27
+ setDialogOpen(false);
28
+ };
29
+ return (
30
+ <React.Fragment>
31
+ <Dialog open={dialogOpen} onClose={handleDialogClose} fullWidth={true} maxWidth="xl" >
32
+ <DialogTitle>Data object viewer</DialogTitle>
33
+ <DialogContent sx={{height:'90vh'}}>
34
+ <JsonViewer value={data} />
35
+ </DialogContent>
36
+ <DialogActions>
37
+ <Button onClick={handleDialogClose}>Close</Button>
38
+ </DialogActions>
39
+ </Dialog>
40
+ <Button variant="outlined" size="small" sx={{ marginTop: 2, marginRight: 1 }} onClick={handleDialogClickOpen} > {buttonLabel} </Button>
41
+ </React.Fragment>
42
+ )
43
+ }