codecharta-visualization 1.119.0 → 1.120.0
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.
- package/Dockerfile +1 -1
- package/README.md +18 -13
- package/dist/webpack/index.html +3 -2
- package/dist/webpack/{main.0e368e65a1bdf78b.js → main.72a7cff358f302b1.js} +1 -1
- package/dist/webpack/main.js +52 -0
- package/dist/webpack/package.json +132 -0
- package/package.json +10 -15
- package/app/app.e2e.ts +0 -15
- package/app/app.module.ts +0 -73
- package/app/app.scss +0 -40
- package/app/codeCharta/assets/codecharta_logo.svg +0 -1
- package/app/codeCharta/assets/empty.png +0 -0
- package/app/codeCharta/assets/favicon.ico +0 -0
- package/app/codeCharta/assets/flatten.png +0 -0
- package/app/codeCharta/assets/gameObjectsFile.json +0 -75
- package/app/codeCharta/assets/icon.icns +0 -0
- package/app/codeCharta/assets/icon.ico +0 -0
- package/app/codeCharta/assets/icon.png +0 -0
- package/app/codeCharta/assets/logo.png +0 -0
- package/app/codeCharta/assets/output.cc.json.gz +0 -0
- package/app/codeCharta/assets/sample1.cc.json +0 -97
- package/app/codeCharta/assets/sample2.cc.json +0 -46
- package/app/codeCharta/assets/sample3.cc.json +0 -40
- package/app/codeCharta/assets/sample4.cc.json +0 -45
- package/app/codeCharta/assets/scenarios.json +0 -50
- package/app/codeCharta/codeCharta.api.model.ts +0 -61
- package/app/codeCharta/codeCharta.component.html +0 -19
- package/app/codeCharta/codeCharta.component.scss +0 -101
- package/app/codeCharta/codeCharta.component.spec.ts +0 -37
- package/app/codeCharta/codeCharta.component.ts +0 -27
- package/app/codeCharta/codeCharta.model.spec.ts +0 -41
- package/app/codeCharta/codeCharta.model.ts +0 -396
- package/app/codeCharta/codeCharta.module.ts +0 -24
- package/app/codeCharta/e2e/__snapshots__/logo.e2e.ts.snap +0 -202722
- package/app/codeCharta/e2e/logo.e2e.ts +0 -27
- package/app/codeCharta/e2e/logo.po.ts +0 -17
- package/app/codeCharta/e2e/url.e2e.ts +0 -86
- package/app/codeCharta/index.d.ts +0 -4
- package/app/codeCharta/model/customConfig/customConfig.api.model.ts +0 -37
- package/app/codeCharta/model/files/files.helper.spec.ts +0 -191
- package/app/codeCharta/model/files/files.helper.ts +0 -39
- package/app/codeCharta/model/files/files.ts +0 -13
- package/app/codeCharta/resources/fileStorage/.gitkeep +0 -0
- package/app/codeCharta/resources/fileStorage/usageData/.gitkeep +0 -0
- package/app/codeCharta/resources/fixed-folders/example.json +0 -386
- package/app/codeCharta/resources/fixed-folders/fixed-folders-example.ts +0 -354
- package/app/codeCharta/resources/sample1_with_api_warning.cc.json +0 -97
- package/app/codeCharta/resources/sample1_with_different_edges.cc.json +0 -101
- package/app/codeCharta/resources/sample1_with_lower_minor_api.cc.json +0 -97
- package/app/codeCharta/services/idToBuilding/idToBuilding.service.ts +0 -19
- package/app/codeCharta/services/isAttributeSideBarVisible.service.ts +0 -16
- package/app/codeCharta/services/loadFile/fileParser.ts +0 -80
- package/app/codeCharta/services/loadFile/fileRoot.ts +0 -8
- package/app/codeCharta/services/loadFile/loadFile.service.spec.ts +0 -389
- package/app/codeCharta/services/loadFile/loadFile.service.ts +0 -62
- package/app/codeCharta/services/loadInitialFile/loadInitialFile.service.spec.ts +0 -108
- package/app/codeCharta/services/loadInitialFile/loadInitialFile.service.ts +0 -74
- package/app/codeCharta/services/loadInitialFile/urlExtractor.spec.ts +0 -166
- package/app/codeCharta/services/loadInitialFile/urlExtractor.ts +0 -82
- package/app/codeCharta/services/version/utils/compareVersion.spec.ts +0 -31
- package/app/codeCharta/services/version/utils/compareVersion.ts +0 -35
- package/app/codeCharta/services/version/version.service.spec.ts +0 -42
- package/app/codeCharta/services/version/version.service.ts +0 -28
- package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/addBlacklistItemsIfNotResultsInEmptyMap.effect.spec.ts +0 -71
- package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/addBlacklistItemsIfNotResultsInEmptyMap.effect.ts +0 -46
- package/app/codeCharta/state/effects/addBlacklistItemsIfNotResultsInEmptyMap/resultsInEmptyMap.ts +0 -30
- package/app/codeCharta/state/effects/autoFitCodeMapChange/autoFitCodeMap.effect.spec.ts +0 -87
- package/app/codeCharta/state/effects/autoFitCodeMapChange/autoFitCodeMap.effect.ts +0 -38
- package/app/codeCharta/state/effects/linkColorMetricToHeightMetric/linkColorMetricToHeightMetric.effect.spec.ts +0 -51
- package/app/codeCharta/state/effects/linkColorMetricToHeightMetric/linkColorMetricToHeightMetric.effect.ts +0 -21
- package/app/codeCharta/state/effects/nodeContextMenu/excludeButton/excludeButton.component.html +0 -3
- package/app/codeCharta/state/effects/nodeContextMenu/excludeButton/excludeButton.component.ts +0 -29
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.html +0 -13
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.spec.ts +0 -62
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.component.ts +0 -39
- package/app/codeCharta/state/effects/nodeContextMenu/flattenButtons/flattenButtons.module.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.html +0 -24
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.spec.ts +0 -69
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.component.ts +0 -34
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/focusButtons.module.ts +0 -13
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/isNodeFocused.pipe.spec.ts +0 -31
- package/app/codeCharta/state/effects/nodeContextMenu/focusButtons/isNodeFocused.pipe.ts +0 -26
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.html +0 -6
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.spec.ts +0 -55
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.component.ts +0 -44
- package/app/codeCharta/state/effects/nodeContextMenu/highlightButtons/highlightButtons.module.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.html +0 -22
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.scss +0 -31
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.spec.ts +0 -55
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.component.ts +0 -27
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/markFolderRow.module.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/selectors/markFolderItems.selector.spec.ts +0 -17
- package/app/codeCharta/state/effects/nodeContextMenu/markFolderRow/selectors/markFolderItems.selector.ts +0 -32
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.e2e.ts +0 -59
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.po.ts +0 -26
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.service.spec.ts +0 -98
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenu.service.ts +0 -84
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/lastPartOfNodePath.pipe.spec.ts +0 -11
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/lastPartOfNodePath.pipe.ts +0 -8
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.html +0 -17
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.scss +0 -33
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.spec.ts +0 -50
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.component.ts +0 -20
- package/app/codeCharta/state/effects/nodeContextMenu/nodeContextMenuCard/nodeContextMenuCard.module.ts +0 -17
- package/app/codeCharta/state/effects/nodeContextMenu/openNodeContextMenu.effect.spec.ts +0 -44
- package/app/codeCharta/state/effects/nodeContextMenu/openNodeContextMenu.effect.ts +0 -23
- package/app/codeCharta/state/effects/nodeContextMenu/rightClickedCodeMapNode.selector.ts +0 -9
- package/app/codeCharta/state/effects/renderCodeMapEffect/actionsRequiringRerender.ts +0 -71
- package/app/codeCharta/state/effects/renderCodeMapEffect/renderCodeMap.effect.spec.ts +0 -82
- package/app/codeCharta/state/effects/renderCodeMapEffect/renderCodeMap.effect.ts +0 -57
- package/app/codeCharta/state/effects/resetChosenMetrics/resetChosenMetrics.effect.spec.ts +0 -79
- package/app/codeCharta/state/effects/resetChosenMetrics/resetChosenMetrics.effect.ts +0 -41
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/getDefaultDistribution.spec.ts +0 -11
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/getDefaultDistributionMetric.ts +0 -4
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/metricHelper.spec.ts +0 -70
- package/app/codeCharta/state/effects/resetChosenMetrics/utils/metricHelper.ts +0 -55
- package/app/codeCharta/state/effects/resetSelectedEdgeMetricWhenItDoesntExistAnymore/resetSelectedEdgeMetricWhenItDoesntExistAnymore.effect.spec.ts +0 -46
- package/app/codeCharta/state/effects/resetSelectedEdgeMetricWhenItDoesntExistAnymore/resetSelectedEdgeMetricWhenItDoesntExistAnymore.effect.ts +0 -23
- package/app/codeCharta/state/effects/setLoadingIndicator/setLoadingIndicator.effect.ts +0 -26
- package/app/codeCharta/state/effects/unfocusNodes/unfocusNodes.effect.spec.ts +0 -24
- package/app/codeCharta/state/effects/unfocusNodes/unfocusNodes.effect.ts +0 -14
- package/app/codeCharta/state/effects/updateEdgePreviews/updateEdgePreviews.effect.spec.ts +0 -51
- package/app/codeCharta/state/effects/updateEdgePreviews/updateEdgePreviews.effect.ts +0 -21
- package/app/codeCharta/state/effects/updateFileSettings/updateFileSettings.effect.spec.ts +0 -49
- package/app/codeCharta/state/effects/updateFileSettings/updateFileSettings.effect.ts +0 -46
- package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/blacklist.merger.spec.ts.snap +0 -39
- package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/edges.merger.spec.ts.snap +0 -77
- package/app/codeCharta/state/effects/updateFileSettings/utils/__snapshots__/markedPackages.merger.spec.ts.snap +0 -45
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeDescriptors.merger.spec.ts +0 -70
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeDescriptors.merger.ts +0 -15
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeTypes.merger.spec.ts +0 -75
- package/app/codeCharta/state/effects/updateFileSettings/utils/attributeTypes.merger.ts +0 -25
- package/app/codeCharta/state/effects/updateFileSettings/utils/blacklist.merger.spec.ts +0 -37
- package/app/codeCharta/state/effects/updateFileSettings/utils/blacklist.merger.ts +0 -25
- package/app/codeCharta/state/effects/updateFileSettings/utils/edges.merger.spec.ts +0 -92
- package/app/codeCharta/state/effects/updateFileSettings/utils/edges.merger.ts +0 -36
- package/app/codeCharta/state/effects/updateFileSettings/utils/markedPackages.merger.spec.ts +0 -74
- package/app/codeCharta/state/effects/updateFileSettings/utils/markedPackages.merger.ts +0 -25
- package/app/codeCharta/state/effects/updateVisibleTopLabels/getNumberOfTopLabels.spec.ts +0 -18
- package/app/codeCharta/state/effects/updateVisibleTopLabels/getNumberOfTopLabels.ts +0 -12
- package/app/codeCharta/state/effects/updateVisibleTopLabels/updateVisibleTopLabels.effect.ts +0 -24
- package/app/codeCharta/state/selectors/accumulatedData/accumulatedData.selector.spec.ts +0 -76
- package/app/codeCharta/state/selectors/accumulatedData/accumulatedData.selector.ts +0 -61
- package/app/codeCharta/state/selectors/accumulatedData/codeMapNodes.selector.ts +0 -11
- package/app/codeCharta/state/selectors/accumulatedData/idToNode.selector.spec.ts +0 -15
- package/app/codeCharta/state/selectors/accumulatedData/idToNode.selector.ts +0 -18
- package/app/codeCharta/state/selectors/accumulatedData/metricData/edgeMetricData.calculator.spec.ts +0 -46
- package/app/codeCharta/state/selectors/accumulatedData/metricData/edgeMetricData.calculator.ts +0 -95
- package/app/codeCharta/state/selectors/accumulatedData/metricData/metricData.selector.ts +0 -12
- package/app/codeCharta/state/selectors/accumulatedData/metricData/metricNames.selector.spec.ts +0 -16
- package/app/codeCharta/state/selectors/accumulatedData/metricData/metricNames.selector.ts +0 -4
- package/app/codeCharta/state/selectors/accumulatedData/metricData/nodeMetricData.calculator.spec.ts +0 -63
- package/app/codeCharta/state/selectors/accumulatedData/metricData/nodeMetricData.calculator.ts +0 -53
- package/app/codeCharta/state/selectors/accumulatedData/metricData/selectedColorMetricData.selector.ts +0 -16
- package/app/codeCharta/state/selectors/accumulatedData/metricData/sortByMetricName.ts +0 -7
- package/app/codeCharta/state/selectors/accumulatedData/rootUnary.selector.ts +0 -7
- package/app/codeCharta/state/selectors/accumulatedData/utils/addEdgeMetricsForLeaves.ts +0 -20
- package/app/codeCharta/state/selectors/accumulatedData/utils/getDeltaFile.ts +0 -16
- package/app/codeCharta/state/selectors/accumulatedData/utils/getMetricValuesForNode.spec.ts +0 -17
- package/app/codeCharta/state/selectors/accumulatedData/utils/getMetricValuesForNode.ts +0 -16
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/areAllNecessaryRenderDataAvailable.selector.ts +0 -39
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areDynamicSettingsAvailable.spec.ts +0 -39
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areDynamicSettingsAvailable.ts +0 -17
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areMetricsAvailable.spec.ts +0 -13
- package/app/codeCharta/state/selectors/allNecessaryRenderDataAvailable/utils/areMetricsAvailable.ts +0 -8
- package/app/codeCharta/state/selectors/hoveredNode.selector.ts +0 -7
- package/app/codeCharta/state/selectors/isDeltaState.selector.ts +0 -5
- package/app/codeCharta/state/selectors/primaryMetrics/primaryMetricNames.selector.ts +0 -19
- package/app/codeCharta/state/selectors/primaryMetrics/primaryMetrics.selector.ts +0 -50
- package/app/codeCharta/state/selectors/referenceFile/referenceFile.selector.spec.ts +0 -20
- package/app/codeCharta/state/selectors/referenceFile/referenceFile.selector.ts +0 -11
- package/app/codeCharta/state/selectors/searchedNodes/getNodesByGitignorePath.spec.ts +0 -82
- package/app/codeCharta/state/selectors/searchedNodes/getNodesByGitignorePath.ts +0 -19
- package/app/codeCharta/state/selectors/searchedNodes/searchedNodePaths.selector.ts +0 -4
- package/app/codeCharta/state/selectors/searchedNodes/searchedNodes.selector.ts +0 -8
- package/app/codeCharta/state/selectors/selectedNode.selector.ts +0 -7
- package/app/codeCharta/state/selectors/visibleFileStates.selector.ts +0 -5
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/amountOfEdgePreviews/amountOfEdgePreviews.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/amountOfTopLabels/amountOfTopLabels.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/appSettings.reducer.ts +0 -97
- package/app/codeCharta/state/store/appSettings/appSettings.selector.ts +0 -3
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.reducer.spec.ts +0 -16
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/colorLabels/colorLabels.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/edgeHeight/edgeHeight.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/enableClipboard/screenshotToClipboardEnabled.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/enableExperimentalFeatures/experimentalFeaturesEnabled.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/enableFloorLabels/enableFloorLabels.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/hideFlatBuildings/hideFlatBuildings.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/invertArea/invertArea.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/invertHeight/invertHeight.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.reducer.ts +0 -8
- package/app/codeCharta/state/store/appSettings/isEdgeMetricVisible/isEdgeMetricVisible.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.actions.ts +0 -7
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.reducer.spec.ts +0 -25
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.reducer.ts +0 -12
- package/app/codeCharta/state/store/appSettings/isHeightAndColorMetricLinked/isColorMetricLinkedToHeightMetric.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isLoadingFile/isLoadingFile.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isLoadingMap/isLoadingMap.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isPresentationMode/isPresentationMode.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/isWhiteBackground/isWhiteBackground.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.reducer.spec.ts +0 -12
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/layoutAlgorithm/layoutAlgorithm.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.actions.ts +0 -6
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.reducer.spec.ts +0 -35
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.reducer.ts +0 -26
- package/app/codeCharta/state/store/appSettings/mapColors/mapColors.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.reducer.ts +0 -6
- package/app/codeCharta/state/store/appSettings/maxTreeMapFiles/maxTreeMapFiles.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/resetCameraIfNewFileIsLoaded/resetCameraIfNewFileIsLoaded.selector.ts +0 -7
- package/app/codeCharta/state/store/appSettings/scaling/scaling.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/scaling/scaling.reducer.spec.ts +0 -16
- package/app/codeCharta/state/store/appSettings/scaling/scaling.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/scaling/scaling.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.reducer.ts +0 -7
- package/app/codeCharta/state/store/appSettings/sharpnessMode/sharpnessMode.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/showMetricLabelNameValue/showMetricLabelNameValue.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/showMetricLabelNodeName/showMetricLabelNodeName.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.actions.ts +0 -3
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.reducer.ts +0 -9
- package/app/codeCharta/state/store/appSettings/showOnlyBuildingsWithEdges/showOnlyBuildingsWithEdges.selector.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.actions.ts +0 -4
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.reducer.spec.ts +0 -21
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.reducer.ts +0 -10
- package/app/codeCharta/state/store/appSettings/sortingOrderAscending/sortingOrderAscending.selector.ts +0 -4
- package/app/codeCharta/state/store/appStatus/appStatus.reducer.ts +0 -16
- package/app/codeCharta/state/store/appStatus/appStatus.selector.ts +0 -3
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.actions.ts +0 -3
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.reducer.spec.ts +0 -8
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.reducer.ts +0 -7
- package/app/codeCharta/state/store/appStatus/hoveredNodeId/hoveredNodeId.selector.ts +0 -4
- package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.actions.ts +0 -7
- package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.reducer.ts +0 -9
- package/app/codeCharta/state/store/appStatus/rightClickedNodeData/rightClickedNodeData.selector.ts +0 -4
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.actions.ts +0 -3
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.reducer.spec.ts +0 -9
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.reducer.ts +0 -7
- package/app/codeCharta/state/store/appStatus/selectedBuildingId/selectedBuildingId.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/areaMetric/areaMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/colorMetric/colorMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.actions.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.reducer.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/colorMode/colorMode.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorRange/calculateInitialColorRange.spec.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/colorRange/calculateInitialColorRange.ts +0 -9
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.actions.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.reducer.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/colorRange/colorRange.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/colorRange/resetColorRange.effect.spec.ts +0 -60
- package/app/codeCharta/state/store/dynamicSettings/colorRange/resetColorRange.effect.ts +0 -31
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/distributionMetric/distributionMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/dynamicSettings.reducer.ts +0 -40
- package/app/codeCharta/state/store/dynamicSettings/dynamicSettings.selector.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/edgeMetric/edgeMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/currentFocused.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.actions.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.reducer.spec.ts +0 -48
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.reducer.ts +0 -12
- package/app/codeCharta/state/store/dynamicSettings/focusedNodePath/focusedNodePath.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.reducer.spec.ts +0 -10
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/heightMetric/heightMetric.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.reducer.spec.ts +0 -8
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.reducer.ts +0 -6
- package/app/codeCharta/state/store/dynamicSettings/margin/margin.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.actions.ts +0 -3
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.reducer.spec.ts +0 -15
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.reducer.ts +0 -11
- package/app/codeCharta/state/store/dynamicSettings/searchPattern/searchPattern.selector.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.actions.ts +0 -4
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.reducer.spec.ts +0 -11
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOption.reducer.ts +0 -7
- package/app/codeCharta/state/store/dynamicSettings/sortingOption/sortingOrder.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.action.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.reducer.spec.ts +0 -21
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.reducer.ts +0 -10
- package/app/codeCharta/state/store/fileSettings/attributeDescriptors/attributeDescriptors.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.actions.ts +0 -12
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.reducer.spec.ts +0 -39
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.reducer.ts +0 -14
- package/app/codeCharta/state/store/fileSettings/attributeTypes/attributeTypes.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.actions.ts +0 -11
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.reducer.spec.ts +0 -43
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.reducer.ts +0 -14
- package/app/codeCharta/state/store/fileSettings/blacklist/blacklist.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/edges/edges.actions.ts +0 -6
- package/app/codeCharta/state/store/fileSettings/edges/edges.reducer.spec.ts +0 -29
- package/app/codeCharta/state/store/fileSettings/edges/edges.reducer.ts +0 -13
- package/app/codeCharta/state/store/fileSettings/edges/edges.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/fileSettings.reducer.ts +0 -22
- package/app/codeCharta/state/store/fileSettings/fileSettings.selector.ts +0 -3
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.actions.ts +0 -6
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.reducer.spec.ts +0 -64
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.reducer.ts +0 -29
- package/app/codeCharta/state/store/fileSettings/markedPackages/markedPackages.selector.ts +0 -4
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/addMarkedPackage.spec.ts +0 -47
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/addMarkedPackage.ts +0 -27
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/findIndexOfMarkedPackageOrParent.spec.ts +0 -39
- package/app/codeCharta/state/store/fileSettings/markedPackages/util/findIndexOfMarkedPackageOrParent.ts +0 -22
- package/app/codeCharta/state/store/files/files.actions.ts +0 -28
- package/app/codeCharta/state/store/files/files.reducer.spec.ts +0 -152
- package/app/codeCharta/state/store/files/files.reducer.ts +0 -111
- package/app/codeCharta/state/store/files/files.selector.ts +0 -3
- package/app/codeCharta/state/store/state.actions.ts +0 -8
- package/app/codeCharta/state/store/state.manager.ts +0 -70
- package/app/codeCharta/state/store/state.reducer.spec.ts +0 -59
- package/app/codeCharta/state/store/util/setState.reducer.factory.spec.ts +0 -24
- package/app/codeCharta/state/store/util/setState.reducer.factory.ts +0 -17
- package/app/codeCharta/streetLayoutTodo.md +0 -16
- package/app/codeCharta/ui/actionIcon/actionIcon.component.html +0 -1
- package/app/codeCharta/ui/actionIcon/actionIcon.component.scss +0 -23
- package/app/codeCharta/ui/actionIcon/actionIcon.component.ts +0 -11
- package/app/codeCharta/ui/actionIcon/actionIcon.module.ts +0 -10
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.html +0 -8
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.scss +0 -164
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.spec.ts +0 -161
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.component.ts +0 -21
- package/app/codeCharta/ui/attributeSideBar/attributeSideBar.module.ts +0 -35
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.html +0 -14
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.scss +0 -75
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.spec.ts +0 -28
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/attributeSideBarHeaderSection.component.ts +0 -21
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/fileCount.selector.spec.ts +0 -18
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/fileCountSelector.ts +0 -18
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.html +0 -14
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.spec.ts +0 -121
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarHeaderSection/nodePath/nodePath.component.ts +0 -22
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetric/attributeSideBarPrimaryMetric.component.html +0 -20
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetric/attributeSideBarPrimaryMetric.component.ts +0 -23
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetrics.component.html +0 -68
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarPrimaryMetrics/attributeSideBarPrimaryMetrics.component.ts +0 -25
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/attributeSideBarSecondaryMetrics.component.html +0 -45
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/attributeSideBarSecondaryMetrics.component.ts +0 -29
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/secondaryMetrics.selector.spec.ts +0 -28
- package/app/codeCharta/ui/attributeSideBar/attributeSideBarSecondaryMetrics/secondaryMetrics.selector.ts +0 -23
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.html +0 -4
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.scss +0 -24
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.spec.ts +0 -45
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.component.ts +0 -38
- package/app/codeCharta/ui/attributeSideBar/attributeTypeSelector/attributeTypeSelector.module.ts +0 -12
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.html +0 -5
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.spec.ts +0 -79
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.component.ts +0 -26
- package/app/codeCharta/ui/attributeSideBar/metricDeltaSelected/metricDeltaSelected.module.ts +0 -10
- package/app/codeCharta/ui/attributeSideBar/util/edge.ts +0 -5
- package/app/codeCharta/ui/attributeSideBar/util/metric.ts +0 -4
- package/app/codeCharta/ui/attributeSideBar/util/showAttributeTypeSelector.selector.spec.ts +0 -11
- package/app/codeCharta/ui/attributeSideBar/util/showAttributeTypeSelector.selector.ts +0 -7
- package/app/codeCharta/ui/attributeSideBar/util/showDeltaValueSelector.spec.ts +0 -16
- package/app/codeCharta/ui/attributeSideBar/util/showDeltaValueSelector.ts +0 -7
- package/app/codeCharta/ui/codeMap/__snapshots__/codeMap.render.service.spec.ts.snap +0 -231
- package/app/codeCharta/ui/codeMap/arrow/__snapshots__/codeMap.arrow.service.spec.ts.snap +0 -201
- package/app/codeCharta/ui/codeMap/arrow/codeMap.arrow.service.spec.ts +0 -300
- package/app/codeCharta/ui/codeMap/arrow/codeMap.arrow.service.ts +0 -267
- package/app/codeCharta/ui/codeMap/arrow/utils/edgePreviewNodes.selector.spec.ts +0 -21
- package/app/codeCharta/ui/codeMap/arrow/utils/edgePreviewNodes.selector.ts +0 -36
- package/app/codeCharta/ui/codeMap/arrow/utils/edgeVisibility.selector.ts +0 -17
- package/app/codeCharta/ui/codeMap/arrow/utils/setEdgeVisibility.spec.ts +0 -36
- package/app/codeCharta/ui/codeMap/arrow/utils/setEdgeVisibility.ts +0 -20
- package/app/codeCharta/ui/codeMap/codeMap.component.html +0 -4
- package/app/codeCharta/ui/codeMap/codeMap.component.scss +0 -22
- package/app/codeCharta/ui/codeMap/codeMap.component.spec.ts +0 -63
- package/app/codeCharta/ui/codeMap/codeMap.component.ts +0 -46
- package/app/codeCharta/ui/codeMap/codeMap.label.service.spec.ts +0 -575
- package/app/codeCharta/ui/codeMap/codeMap.label.service.ts +0 -312
- package/app/codeCharta/ui/codeMap/codeMap.module.ts +0 -12
- package/app/codeCharta/ui/codeMap/codeMap.mouseEvent.service.spec.ts +0 -838
- package/app/codeCharta/ui/codeMap/codeMap.mouseEvent.service.ts +0 -426
- package/app/codeCharta/ui/codeMap/codeMap.po.ts +0 -24
- package/app/codeCharta/ui/codeMap/codeMap.render.service.spec.ts +0 -329
- package/app/codeCharta/ui/codeMap/codeMap.render.service.ts +0 -163
- package/app/codeCharta/ui/codeMap/rendering/__snapshots__/rendering.spec.ts.snap +0 -5
- package/app/codeCharta/ui/codeMap/rendering/codeMapBuilding.spec.ts +0 -111
- package/app/codeCharta/ui/codeMap/rendering/codeMapBuilding.ts +0 -116
- package/app/codeCharta/ui/codeMap/rendering/codeMapGeometricDescription.ts +0 -76
- package/app/codeCharta/ui/codeMap/rendering/codeMapMesh.spec.ts +0 -42
- package/app/codeCharta/ui/codeMap/rendering/codeMapMesh.ts +0 -233
- package/app/codeCharta/ui/codeMap/rendering/geometryGenerationHelper.ts +0 -291
- package/app/codeCharta/ui/codeMap/rendering/geometryGenerator.spec.ts +0 -52
- package/app/codeCharta/ui/codeMap/rendering/geometryGenerator.ts +0 -142
- package/app/codeCharta/ui/codeMap/rendering/postprocessor/customComposer.spec.ts +0 -170
- package/app/codeCharta/ui/codeMap/rendering/postprocessor/customComposer.ts +0 -85
- package/app/codeCharta/ui/codeMap/rendering/rendering.spec.ts +0 -11
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/codeMapFragmentShader.glsl +0 -22
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/codeMapVertexShader.glsl +0 -100
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/fxaaFragmentShader.glsl +0 -1067
- package/app/codeCharta/ui/codeMap/rendering/shaders/glsl/fxaaVertexShader.glsl +0 -6
- package/app/codeCharta/ui/codeMap/rendering/shaders/loaders/codeMapShaderStrings.ts +0 -9
- package/app/codeCharta/ui/codeMap/rendering/shaders/loaders/fxaaShaderStrings.ts +0 -25
- package/app/codeCharta/ui/codeMap/threeViewer/__snapshots__/threeOrbitControls.service.spec.ts.snap +0 -9
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelDrawer.spec.ts +0 -176
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelDrawer.ts +0 -189
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelHelper.spec.ts +0 -88
- package/app/codeCharta/ui/codeMap/threeViewer/floorLabels/floorLabelHelper.ts +0 -22
- package/app/codeCharta/ui/codeMap/threeViewer/threeCamera.service.spec.ts +0 -30
- package/app/codeCharta/ui/codeMap/threeViewer/threeCamera.service.ts +0 -21
- package/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControls.service.spec.ts +0 -114
- package/app/codeCharta/ui/codeMap/threeViewer/threeOrbitControls.service.ts +0 -131
- package/app/codeCharta/ui/codeMap/threeViewer/threeRenderer.service.spec.ts +0 -341
- package/app/codeCharta/ui/codeMap/threeViewer/threeRenderer.service.ts +0 -135
- package/app/codeCharta/ui/codeMap/threeViewer/threeSceneService.spec.ts +0 -468
- package/app/codeCharta/ui/codeMap/threeViewer/threeSceneService.ts +0 -434
- package/app/codeCharta/ui/codeMap/threeViewer/threeStats.service.spec.ts +0 -197
- package/app/codeCharta/ui/codeMap/threeViewer/threeStats.service.ts +0 -88
- package/app/codeCharta/ui/codeMap/threeViewer/threeViewer.service.spec.ts +0 -305
- package/app/codeCharta/ui/codeMap/threeViewer/threeViewer.service.ts +0 -115
- package/app/codeCharta/ui/colorPicker/colorPicker.component.html +0 -16
- package/app/codeCharta/ui/colorPicker/colorPicker.component.spec.ts +0 -77
- package/app/codeCharta/ui/colorPicker/colorPicker.component.ts +0 -47
- package/app/codeCharta/ui/colorPicker/colorPicker.module.ts +0 -13
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.html +0 -5
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.spec.ts +0 -37
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.component.ts +0 -31
- package/app/codeCharta/ui/colorPickerForMapColor/colorPickerForMapColor.module.ts +0 -13
- package/app/codeCharta/ui/colorPickerForMapColor/mapColorLabel.pipe.spec.ts +0 -42
- package/app/codeCharta/ui/colorPickerForMapColor/mapColorLabel.pipe.ts +0 -32
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboard.service.spec.ts +0 -34
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboard.service.ts +0 -23
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.html +0 -2
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.spec.ts +0 -32
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.component.ts +0 -15
- package/app/codeCharta/ui/copyToClipboardButton/copyToClipboardButton.module.ts +0 -13
- package/app/codeCharta/ui/copyToClipboardButton/util/clipboardString.spec.ts +0 -37
- package/app/codeCharta/ui/copyToClipboardButton/util/clipboardString.ts +0 -21
- package/app/codeCharta/ui/copyToClipboardButton/util/getFilenamesWithHighestMetric.spec.ts +0 -142
- package/app/codeCharta/ui/copyToClipboardButton/util/getFilenamesWithHighestMetrics.ts +0 -43
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.html +0 -3
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.spec.ts +0 -48
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.component.ts +0 -16
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigButton.module.ts +0 -15
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component.html +0 -33
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.component.ts +0 -70
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomConfigDialog.spec.ts +0 -77
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/addCustomDialog.component.scss +0 -77
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndCollectPurgeableConfigs.ts +0 -32
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.component.html +0 -11
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.component.ts +0 -49
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/downloadAndPurgeConfigs/downloadAndPurgeConfigs.spec.ts +0 -90
- package/app/codeCharta/ui/customConfigs/addCustomConfigButton/addCustomConfigDialog/validateLocalStorageSize.ts +0 -16
- package/app/codeCharta/ui/customConfigs/customConfigHelper.service.ts +0 -23
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableColor.pipe.spec.ts +0 -36
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableColor.pipe.ts +0 -15
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableMessage.pipe.spec.ts +0 -60
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfig2ApplicableMessage.pipe.ts +0 -27
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.html +0 -24
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.scss +0 -52
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.component.ts +0 -26
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/applyCustomConfigButton.spec.ts +0 -76
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/customConfigColorSchemaBySelectionMode.pipe.spec.ts +0 -36
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigDescription/customConfigColorSchemaBySelectionMode.pipe.ts +0 -13
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.html +0 -42
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.scss +0 -38
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.spec.ts +0 -148
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/customConfigItemGroup.component.ts +0 -31
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/getMissingCustomConfigModeAndMaps.spec.ts +0 -50
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigItemGroup/getMissingCustomConfigModeAndMaps.ts +0 -24
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.html +0 -41
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.scss +0 -122
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.spec.ts +0 -135
- package/app/codeCharta/ui/customConfigs/customConfigList/customConfigList.component.ts +0 -17
- package/app/codeCharta/ui/customConfigs/customConfigList/getCustomConfigItemGroups.spec.ts +0 -151
- package/app/codeCharta/ui/customConfigs/customConfigList/getCustomConfigItemGroups.ts +0 -53
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.html +0 -12
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.scss +0 -31
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialog/customConfigNoteDialog.component.ts +0 -12
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.html +0 -3
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.spec.ts +0 -90
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.component.ts +0 -33
- package/app/codeCharta/ui/customConfigs/customConfigNoteDialogButton/customConfigNoteDialogButton.module.ts +0 -14
- package/app/codeCharta/ui/customConfigs/customConfigs.component.html +0 -6
- package/app/codeCharta/ui/customConfigs/customConfigs.component.scss +0 -7
- package/app/codeCharta/ui/customConfigs/customConfigs.component.spec.ts +0 -41
- package/app/codeCharta/ui/customConfigs/customConfigs.component.ts +0 -41
- package/app/codeCharta/ui/customConfigs/customConfigs.module.ts +0 -41
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigButton.component.spec.ts +0 -36
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigButton.module.ts +0 -11
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigHelper.ts +0 -24
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.html +0 -7
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.scss +0 -21
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/downloadCustomConfigsButton.component.ts +0 -32
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/getDownloadableCustomConfigs.spec.ts +0 -70
- package/app/codeCharta/ui/customConfigs/downloadCustomConfigsButton/getDownloadableCustomConfigs.ts +0 -26
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.html +0 -3
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.spec.ts +0 -9
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.component.ts +0 -30
- package/app/codeCharta/ui/customConfigs/uploadCustomConfigButton/uploadCustomConfigButton.module.ts +0 -8
- package/app/codeCharta/ui/customConfigs/visibleFilesBySelectionMode.selector.spec.ts +0 -43
- package/app/codeCharta/ui/customConfigs/visibleFilesBySelectionMode.selector.ts +0 -20
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.html +0 -18
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.scss +0 -36
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.spec.ts +0 -63
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.component.ts +0 -63
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.e2e.ts +0 -26
- package/app/codeCharta/ui/dialogs/changelogDialog/changelogDialog.module.ts +0 -10
- package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.html +0 -9
- package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.scss +0 -17
- package/app/codeCharta/ui/dialogs/confirmationDialog/confirmationDialog.component.ts +0 -11
- package/app/codeCharta/ui/dialogs/dialogs.ts +0 -4
- package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.html +0 -7
- package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.po.ts +0 -13
- package/app/codeCharta/ui/dialogs/errorDialog/errorDialog.component.ts +0 -10
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.html +0 -1
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.spec.ts +0 -66
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.component.ts +0 -30
- package/app/codeCharta/ui/export3DMapButton/export3DMapButton.module.ts +0 -11
- package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser..module.ts +0 -11
- package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser.component.html +0 -7
- package/app/codeCharta/ui/fileExtensionBar/distributionMetricChooser/distributionMetricChooser.component.ts +0 -20
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.html +0 -40
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.scss +0 -88
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.spec.ts +0 -80
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.component.ts +0 -59
- package/app/codeCharta/ui/fileExtensionBar/fileExtensionBar.module.ts +0 -11
- package/app/codeCharta/ui/fileExtensionBar/selectors/fileExtensionCalculator.spec.ts +0 -212
- package/app/codeCharta/ui/fileExtensionBar/selectors/fileExtensionCalculator.ts +0 -123
- package/app/codeCharta/ui/fileExtensionBar/selectors/metricDistribution.selector.ts +0 -11
- package/app/codeCharta/ui/filePanel/filePanel.component.html +0 -3
- package/app/codeCharta/ui/filePanel/filePanel.component.scss +0 -73
- package/app/codeCharta/ui/filePanel/filePanel.component.spec.ts +0 -34
- package/app/codeCharta/ui/filePanel/filePanel.component.ts +0 -16
- package/app/codeCharta/ui/filePanel/filePanel.module.ts +0 -25
- package/app/codeCharta/ui/filePanel/filePanel.po.ts +0 -17
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.html +0 -27
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.scss +0 -6
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/filePanelDeltaSelector.component.ts +0 -37
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/pictogramBackground.selector.spec.ts +0 -9
- package/app/codeCharta/ui/filePanel/filePanelDeltaSelector/pictogramBackground.selector.ts +0 -8
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.html +0 -19
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.scss +0 -42
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.spec.ts +0 -87
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/filePanelFileSelector.component.ts +0 -58
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/removeFileButton/removeFileButton.component.html +0 -3
- package/app/codeCharta/ui/filePanel/filePanelFileSelector/removeFileButton/removeFileButton.component.ts +0 -21
- package/app/codeCharta/ui/filePanel/filePanelStateButtons/filePanelStateButtons.component.html +0 -20
- package/app/codeCharta/ui/filePanel/filePanelStateButtons/filePanelStateButtons.component.ts +0 -16
- package/app/codeCharta/ui/filePanel/fileSelectionMode.service.spec.ts +0 -56
- package/app/codeCharta/ui/filePanel/fileSelectionMode.service.ts +0 -55
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.html +0 -23
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.scss +0 -41
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.spec.ts +0 -55
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.component.ts +0 -18
- package/app/codeCharta/ui/labelledColorPicker/labelledColorPicker.module.ts +0 -13
- package/app/codeCharta/ui/labelledColorPicker/readableColorForBackground.pipe.ts +0 -9
- package/app/codeCharta/ui/legendPanel/legendBlock/legendBlock.component.html +0 -24
- package/app/codeCharta/ui/legendPanel/legendBlock/legendBlock.component.ts +0 -19
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.html +0 -11
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.scss +0 -5
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.spec.ts +0 -37
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.component.ts +0 -41
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.module.ts +0 -12
- package/app/codeCharta/ui/legendPanel/legendMarkedPackages/legendMarkedPackages.selector.ts +0 -18
- package/app/codeCharta/ui/legendPanel/legendPanel.component.html +0 -38
- package/app/codeCharta/ui/legendPanel/legendPanel.component.scss +0 -101
- package/app/codeCharta/ui/legendPanel/legendPanel.component.spec.ts +0 -122
- package/app/codeCharta/ui/legendPanel/legendPanel.component.ts +0 -30
- package/app/codeCharta/ui/legendPanel/legendPanel.e2e.ts +0 -60
- package/app/codeCharta/ui/legendPanel/legendPanel.module.ts +0 -16
- package/app/codeCharta/ui/legendPanel/legendPanel.po.ts +0 -23
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.html +0 -3
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.scss +0 -16
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.component.ts +0 -19
- package/app/codeCharta/ui/loadingFileProgressSpinner/loadingFileProgressSpinner.module.ts +0 -11
- package/app/codeCharta/ui/metricChooser/filterMetricDataBySearchTerm.pipe.ts +0 -10
- package/app/codeCharta/ui/metricChooser/metricChooser.component.html +0 -28
- package/app/codeCharta/ui/metricChooser/metricChooser.component.scss +0 -78
- package/app/codeCharta/ui/metricChooser/metricChooser.component.spec.ts +0 -133
- package/app/codeCharta/ui/metricChooser/metricChooser.component.ts +0 -42
- package/app/codeCharta/ui/metricChooser/metricChooser.module.ts +0 -14
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/createAttributeType.selector.spec.ts +0 -27
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/createAttributeTypeSelector.selector.ts +0 -10
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/isHoveredNodeALeaf.selector.spec.ts +0 -15
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/isHoveredNodeALeaf.selector.ts +0 -7
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.html +0 -3
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.spec.ts +0 -28
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.component.ts +0 -26
- package/app/codeCharta/ui/metricChooser/metricChooserTypeHovered/metricChooserTypeHovered.module.ts +0 -10
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.html +0 -20
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.spec.ts +0 -105
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.component.ts +0 -23
- package/app/codeCharta/ui/metricChooser/metricChooserValueHovered/metricChooserValueHovered.module.ts +0 -11
- package/app/codeCharta/ui/resetSettingsButton/getPartialDefaultState.spec.ts +0 -17
- package/app/codeCharta/ui/resetSettingsButton/getPartialDefaultState.ts +0 -43
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.html +0 -4
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.scss +0 -29
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.spec.ts +0 -49
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.component.ts +0 -29
- package/app/codeCharta/ui/resetSettingsButton/resetSettingsButton.module.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.html +0 -10
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.spec.ts +0 -60
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.component.ts +0 -20
- package/app/codeCharta/ui/ribbonBar/areaMetricChooser/areaMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.html +0 -18
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.scss +0 -19
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.spec.ts +0 -46
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.component.ts +0 -39
- package/app/codeCharta/ui/ribbonBar/areaSettingsPanel/areaSettingsPanel.module.ts +0 -13
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.html +0 -4
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.scss +0 -93
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.component.ts +0 -16
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/artificialIntelligence.module.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.html +0 -62
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.spec.ts +0 -87
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/highRiskProfile.component.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/highRiskProfile/riskProfileBar.directive.ts +0 -18
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/artificialIntelligence.selector.spec.ts +0 -65
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/artificialIntelligence.selector.ts +0 -98
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/artificialIntelligence.metricThresholds.ts +0 -136
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/getMetricThresholds.ts +0 -5
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/mainProgrammingLanguageHelper.spec.ts +0 -17
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/mainProgrammingLanguageHelper.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/riskProfileHelper.spec.ts +0 -67
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/riskProfileHelper.ts +0 -42
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/suspiciousMetricsHelper.spec.ts +0 -197
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/selectors/util/suspiciousMetricsHelper.ts +0 -118
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.html +0 -69
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.spec.ts +0 -137
- package/app/codeCharta/ui/ribbonBar/artificialIntelligence/suspiciousMetrics/suspiciousMetrics.component.ts +0 -53
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.html +0 -11
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.spec.ts +0 -80
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.component.ts +0 -24
- package/app/codeCharta/ui/ribbonBar/colorMetricChooser/colorMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.html +0 -68
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.scss +0 -28
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.spec.ts +0 -120
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.component.ts +0 -57
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/colorSettingsPanel.module.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.html +0 -10
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.spec.ts +0 -40
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.component.ts +0 -47
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/metricColorRangeSlider.module.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.html +0 -58
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.scss +0 -53
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.spec.ts +0 -117
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.component.ts +0 -133
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSlider.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.html +0 -30
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.scss +0 -9
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.spec.ts +0 -64
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/rangeSliderLabels/rangeSliderLabels.component.ts +0 -72
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/utils/SliderRangePosition.spec.ts +0 -160
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/rangeSlider/utils/SliderRangePosition.ts +0 -142
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/selectors/metricColorRangeSliderColors.selector.ts +0 -9
- package/app/codeCharta/ui/ribbonBar/colorSettingsPanel/metricColorRangeSlider/selectors/metricColorRangeSliderValues.selector.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeChooser.e2e.ts +0 -40
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeChooser.po.ts +0 -34
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.html +0 -20
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.scss +0 -3
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.spec.ts +0 -75
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.component.ts +0 -25
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/edgeMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/hoveredEdgeValue.selector.spec.ts +0 -22
- package/app/codeCharta/ui/ribbonBar/edgeMetricChooser/hoveredEdgeValue.selector.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.html +0 -3
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.spec.ts +0 -27
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeMetricToggle/edgeMetricToggle.component.ts +0 -25
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.html +0 -39
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.spec.ts +0 -46
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.component.ts +0 -44
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/edgeSettingsPanel.module.ts +0 -15
- package/app/codeCharta/ui/ribbonBar/edgeSettingsPanel/selectors/amountOfBuildingsWithSelectedEdgeMetric.selector.ts +0 -9
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.html +0 -10
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.spec.ts +0 -62
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.component.ts +0 -20
- package/app/codeCharta/ui/ribbonBar/heightMetricChooser/heightMetricChooser.module.ts +0 -12
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.html +0 -43
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.spec.ts +0 -60
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.component.ts +0 -56
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/heightSettingsPanel.module.ts +0 -13
- package/app/codeCharta/ui/ribbonBar/heightSettingsPanel/selectors/isLabelsSliderDisabled.selector.ts +0 -7
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.html +0 -7
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.scss +0 -21
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.spec.ts +0 -39
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.component.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/linkColorMetricToHeightMetricButton/linkColorMetricToHeightMetricButton.module.ts +0 -10
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.html +0 -127
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.scss +0 -245
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.spec.ts +0 -112
- package/app/codeCharta/ui/ribbonBar/ribbonBar.component.ts +0 -65
- package/app/codeCharta/ui/ribbonBar/ribbonBar.e2e.ts +0 -71
- package/app/codeCharta/ui/ribbonBar/ribbonBar.module.ts +0 -40
- package/app/codeCharta/ui/ribbonBar/ribbonBar.po.ts +0 -17
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.html +0 -33
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.scss +0 -23
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.spec.ts +0 -79
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.component.ts +0 -41
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/addCustomScenario.module.ts +0 -11
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/customScenarioName.validator.ts +0 -14
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/getInitialScenarioMetricProperties.spec.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/addCustomScenario/utils/getInitialScenarioMetricProperties.ts +0 -55
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenario.service.spec.ts +0 -84
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenario.service.ts +0 -61
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarioHelper.spec.ts +0 -320
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarioHelper.ts +0 -261
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.html +0 -27
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.scss +0 -66
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.spec.ts +0 -67
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/scenarios/scenarios.component.ts +0 -21
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.html +0 -7
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.scss +0 -4
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.spec.ts +0 -22
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.component.ts +0 -19
- package/app/codeCharta/ui/ribbonBar/showScenariosButton/showScenariosButton.module.ts +0 -15
- package/app/codeCharta/ui/screenshotButton/screenshotButton.component.html +0 -14
- package/app/codeCharta/ui/screenshotButton/screenshotButton.component.spec.ts +0 -46
- package/app/codeCharta/ui/screenshotButton/screenshotButton.component.ts +0 -84
- package/app/codeCharta/ui/screenshotButton/screenshotButton.module.ts +0 -11
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.html +0 -38
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.scss +0 -23
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.spec.ts +0 -60
- package/app/codeCharta/ui/searchPanel/blacklistPanel/blacklistPanel.component.ts +0 -22
- package/app/codeCharta/ui/searchPanel/blacklistPanel/createBlacklistItemSelector.spec.ts +0 -21
- package/app/codeCharta/ui/searchPanel/blacklistPanel/createBlacklistItemSelector.ts +0 -12
- package/app/codeCharta/ui/searchPanel/mapTreeView/isNodeLeaf.pipe.spec.ts +0 -14
- package/app/codeCharta/ui/searchPanel/mapTreeView/isNodeLeaf.pipe.ts +0 -11
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.html +0 -1
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.scss +0 -88
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.component.ts +0 -20
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.level.e2e.ts +0 -46
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.level.po.ts +0 -32
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeView.module.ts +0 -27
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIcon.component.html +0 -6
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIcon.component.ts +0 -12
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconClass.pipe.spec.ts +0 -19
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconClass.pipe.ts +0 -17
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconColor.pipe.spec.ts +0 -44
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemIcon/mapTreeViewItemIconColor.pipe.ts +0 -27
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.html +0 -17
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.spec.ts +0 -62
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemName/mapTreeViewItemName.component.ts +0 -30
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemOptionButtons/mapTreeViewItemOptionButtons.component.html +0 -9
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewItemOptionButtons/mapTreeViewItemOptionButtons.component.ts +0 -11
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.html +0 -31
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.spec.ts +0 -156
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mapTreeViewLevel.component.ts +0 -77
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewLevel/mocks.ts +0 -42
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/mapTreeViewNode.selector.ts +0 -17
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/sortNode.spec.ts +0 -33
- package/app/codeCharta/ui/searchPanel/mapTreeView/mapTreeViewNodeSelector/sortNode.ts +0 -48
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.html +0 -14
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.scss +0 -49
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.spec.ts +0 -40
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.component.ts +0 -19
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/matchingFilesCounter.module.ts +0 -14
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/selectors/matchingFilesCounter.selector.spec.ts +0 -24
- package/app/codeCharta/ui/searchPanel/matchingFilesCounter/selectors/matchingFilesCounter.selector.ts +0 -39
- package/app/codeCharta/ui/searchPanel/searchBar/blacklistSearchPattern.effect.spec.ts +0 -66
- package/app/codeCharta/ui/searchPanel/searchBar/blacklistSearchPattern.effect.ts +0 -71
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.html +0 -37
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.scss +0 -56
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.spec.ts +0 -89
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.component.ts +0 -39
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.module.ts +0 -11
- package/app/codeCharta/ui/searchPanel/searchBar/searchBar.po.ts +0 -21
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isExcludePatternDisabled.selector.ts +0 -17
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isFlattenPatternDisabled.selector.ts +0 -17
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isSearchPatternEmpty.selector.spec.ts +0 -19
- package/app/codeCharta/ui/searchPanel/searchBar/selectors/isSearchPatternEmpty.selector.ts +0 -6
- package/app/codeCharta/ui/searchPanel/searchBar/utils/isPatternBlacklisted.spec.ts +0 -19
- package/app/codeCharta/ui/searchPanel/searchBar/utils/isPatternBlacklisted.ts +0 -22
- package/app/codeCharta/ui/searchPanel/searchBar/utils/parseBlacklistItems.spec.ts +0 -17
- package/app/codeCharta/ui/searchPanel/searchBar/utils/parseBlacklistItems.ts +0 -27
- package/app/codeCharta/ui/searchPanel/searchBar/utils/unifyWildCard.ts +0 -13
- package/app/codeCharta/ui/searchPanel/searchPanel.component.html +0 -19
- package/app/codeCharta/ui/searchPanel/searchPanel.component.scss +0 -5
- package/app/codeCharta/ui/searchPanel/searchPanel.component.spec.ts +0 -101
- package/app/codeCharta/ui/searchPanel/searchPanel.component.ts +0 -49
- package/app/codeCharta/ui/searchPanel/searchPanel.module.ts +0 -16
- package/app/codeCharta/ui/searchPanel/searchPanel.po.ts +0 -23
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/hideBlacklistItemsIndicator.selector.ts +0 -4
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.html +0 -9
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.scss +0 -17
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.spec.ts +0 -22
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.component.ts +0 -23
- package/app/codeCharta/ui/searchPanel/searchPanelModeSelector/searchPanelModeSelector.po.ts +0 -29
- package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.html +0 -7
- package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.spec.ts +0 -29
- package/app/codeCharta/ui/searchPanel/sortingButton/sortingButton.component.ts +0 -26
- package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.html +0 -5
- package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.spec.ts +0 -41
- package/app/codeCharta/ui/searchPanel/sortingOption/sortingOption.component.ts +0 -25
- package/app/codeCharta/ui/slider/slider.component.html +0 -19
- package/app/codeCharta/ui/slider/slider.component.scss +0 -49
- package/app/codeCharta/ui/slider/slider.component.spec.ts +0 -56
- package/app/codeCharta/ui/slider/slider.component.ts +0 -30
- package/app/codeCharta/ui/slider/slider.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.html +0 -6
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.spec.ts +0 -91
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.component.ts +0 -16
- package/app/codeCharta/ui/toolBar/downloadButton/downloadButton.module.ts +0 -13
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.html +0 -42
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.scss +0 -58
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/downloadDialog.component.ts +0 -70
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/util/propertyHelper.spec.ts +0 -61
- package/app/codeCharta/ui/toolBar/downloadButton/downloadDialog/util/propertyHelper.ts +0 -37
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.html +0 -3
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.scss +0 -63
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.component.ts +0 -19
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationButton.module.ts +0 -15
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.html +0 -8
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.spec.ts +0 -36
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.component.ts +0 -21
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/displayQualitySelection/displayQualitySelection.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.html +0 -54
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.spec.ts +0 -31
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/globalConfigurationDialog.component.ts +0 -54
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.html +0 -18
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.spec.ts +0 -69
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.component.ts +0 -29
- package/app/codeCharta/ui/toolBar/globalConfigurationButton/globalConfigurationDialog/mapLayoutSelection/mapLayoutSelection.module.ts +0 -12
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.html +0 -12
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.scss +0 -18
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.spec.ts +0 -71
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.component.ts +0 -16
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanel.module.ts +0 -10
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanelData.selector.spec.ts +0 -26
- package/app/codeCharta/ui/toolBar/hoveredNodePathPanel/hoveredNodePathPanelData.selector.ts +0 -11
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.html +0 -7
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.scss +0 -4
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.component.ts +0 -19
- package/app/codeCharta/ui/toolBar/loadingMapProgressSpinner/loadingMapProgressSpinner.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.html +0 -9
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.scss +0 -7
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.spec.ts +0 -20
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.component.ts +0 -22
- package/app/codeCharta/ui/toolBar/presentationModeButton/presentationModeButton.module.ts +0 -11
- package/app/codeCharta/ui/toolBar/toolBar.component.html +0 -14
- package/app/codeCharta/ui/toolBar/toolBar.component.scss +0 -24
- package/app/codeCharta/ui/toolBar/toolBar.component.spec.ts +0 -44
- package/app/codeCharta/ui/toolBar/toolBar.component.ts +0 -18
- package/app/codeCharta/ui/toolBar/toolBar.module.ts +0 -32
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFiles.service.ts +0 -69
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.html +0 -1
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.scss +0 -3
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.spec.ts +0 -19
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.component.ts +0 -16
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.e2e.ts +0 -99
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.module.ts +0 -10
- package/app/codeCharta/ui/toolBar/uploadFilesButton/uploadFilesButton.po.ts +0 -21
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.html +0 -3
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.scss +0 -23
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.spec.ts +0 -24
- package/app/codeCharta/ui/viewCube/centerMapButton/centerMapButton.component.ts +0 -16
- package/app/codeCharta/ui/viewCube/viewCube.component.html +0 -1
- package/app/codeCharta/ui/viewCube/viewCube.component.spec.ts +0 -292
- package/app/codeCharta/ui/viewCube/viewCube.component.ts +0 -245
- package/app/codeCharta/ui/viewCube/viewCube.materials.ts +0 -5
- package/app/codeCharta/ui/viewCube/viewCube.meshGenerator.ts +0 -241
- package/app/codeCharta/ui/viewCube/viewCube.module.ts +0 -11
- package/app/codeCharta/ui/viewCube/viewCube.mouseEvents.service.spec.ts +0 -306
- package/app/codeCharta/ui/viewCube/viewCube.mouseEvents.service.ts +0 -166
- package/app/codeCharta/util/EventEmitter.ts +0 -22
- package/app/codeCharta/util/__snapshots__/aggregationGenerator.spec.ts.snap +0 -406
- package/app/codeCharta/util/__snapshots__/deltaGenerator.spec.ts.snap +0 -385
- package/app/codeCharta/util/__snapshots__/fileHelper.spec.ts.snap +0 -78
- package/app/codeCharta/util/aggregationGenerator.spec.ts +0 -120
- package/app/codeCharta/util/aggregationGenerator.ts +0 -116
- package/app/codeCharta/util/algorithm/streetLayout/boundingBox.ts +0 -25
- package/app/codeCharta/util/algorithm/streetLayout/horizontalStreet.spec.ts +0 -36
- package/app/codeCharta/util/algorithm/streetLayout/horizontalStreet.ts +0 -252
- package/app/codeCharta/util/algorithm/streetLayout/house.spec.ts +0 -26
- package/app/codeCharta/util/algorithm/streetLayout/house.ts +0 -26
- package/app/codeCharta/util/algorithm/streetLayout/rectangle.spec.ts +0 -43
- package/app/codeCharta/util/algorithm/streetLayout/rectangle.ts +0 -32
- package/app/codeCharta/util/algorithm/streetLayout/squarifiedTreeMap.ts +0 -112
- package/app/codeCharta/util/algorithm/streetLayout/street.ts +0 -25
- package/app/codeCharta/util/algorithm/streetLayout/streetLayoutGenerator.spec.ts +0 -24
- package/app/codeCharta/util/algorithm/streetLayout/streetLayoutGenerator.ts +0 -96
- package/app/codeCharta/util/algorithm/streetLayout/streetViewHelper.spec.ts +0 -46
- package/app/codeCharta/util/algorithm/streetLayout/streetViewHelper.ts +0 -97
- package/app/codeCharta/util/algorithm/streetLayout/strip/horizontalStrip.ts +0 -62
- package/app/codeCharta/util/algorithm/streetLayout/strip/strip.ts +0 -66
- package/app/codeCharta/util/algorithm/streetLayout/strip/verticalStrip.ts +0 -62
- package/app/codeCharta/util/algorithm/streetLayout/treeMap.ts +0 -22
- package/app/codeCharta/util/algorithm/streetLayout/verticalStreet.ts +0 -190
- package/app/codeCharta/util/algorithm/treeMapLayout/__snapshots__/treeMapGenerator.spec.ts.snap +0 -2266
- package/app/codeCharta/util/algorithm/treeMapLayout/__snapshots__/treeMapHelper.spec.ts.snap +0 -155
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapGenerator.spec.ts +0 -196
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapGenerator.ts +0 -271
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapHelper.spec.ts +0 -448
- package/app/codeCharta/util/algorithm/treeMapLayout/treeMapHelper.ts +0 -256
- package/app/codeCharta/util/arrayHelper.spec.ts +0 -43
- package/app/codeCharta/util/arrayHelper.ts +0 -31
- package/app/codeCharta/util/clone.spec.ts +0 -13
- package/app/codeCharta/util/clone.ts +0 -5
- package/app/codeCharta/util/codeMapHelper.spec.ts +0 -151
- package/app/codeCharta/util/codeMapHelper.ts +0 -131
- package/app/codeCharta/util/color/colorConverter.spec.ts +0 -174
- package/app/codeCharta/util/color/colorConverter.ts +0 -141
- package/app/codeCharta/util/color/getReadableColorForBackground.spec.ts +0 -11
- package/app/codeCharta/util/color/getReadableColorForBackground.ts +0 -8
- package/app/codeCharta/util/color/gradientCalculator.ts +0 -79
- package/app/codeCharta/util/color/hsl.spec.ts +0 -29
- package/app/codeCharta/util/color/hsl.ts +0 -25
- package/app/codeCharta/util/customConfigBuilder.spec.ts +0 -61
- package/app/codeCharta/util/customConfigBuilder.ts +0 -140
- package/app/codeCharta/util/customConfigHelper.spec.ts +0 -442
- package/app/codeCharta/util/customConfigHelper.ts +0 -210
- package/app/codeCharta/util/dataMocks.ts +0 -2341
- package/app/codeCharta/util/debounce.spec.ts +0 -16
- package/app/codeCharta/util/debounce.ts +0 -10
- package/app/codeCharta/util/deltaGenerator.spec.ts +0 -352
- package/app/codeCharta/util/deltaGenerator.ts +0 -161
- package/app/codeCharta/util/fileDownloader.spec.ts +0 -105
- package/app/codeCharta/util/fileDownloader.ts +0 -124
- package/app/codeCharta/util/fileHelper.spec.ts +0 -207
- package/app/codeCharta/util/fileHelper.ts +0 -95
- package/app/codeCharta/util/fileNameHelper.spec.ts +0 -103
- package/app/codeCharta/util/fileNameHelper.ts +0 -40
- package/app/codeCharta/util/fileValidator.spec.ts +0 -307
- package/app/codeCharta/util/fileValidator.ts +0 -222
- package/app/codeCharta/util/gameObjectsParser/__snapshots__/gameObjectsImporter.spec.ts.snap +0 -121
- package/app/codeCharta/util/gameObjectsParser/gameObjectsImporter.spec.ts +0 -11
- package/app/codeCharta/util/gameObjectsParser/gameObjectsImporter.ts +0 -201
- package/app/codeCharta/util/gameObjectsParser/gameObjectsMocks.ts +0 -75
- package/app/codeCharta/util/gameObjectsParser/gameObjectsSchema.json +0 -271
- package/app/codeCharta/util/gameObjectsParser/gameObjectsValidator.spec.ts +0 -18
- package/app/codeCharta/util/gameObjectsParser/gameObjectsValidator.ts +0 -7
- package/app/codeCharta/util/generatedSchema.json +0 -265
- package/app/codeCharta/util/globalSettingsHelper.spec.ts +0 -67
- package/app/codeCharta/util/globalSettingsHelper.ts +0 -68
- package/app/codeCharta/util/loadFilesValidationToErrorDialog.ts +0 -37
- package/app/codeCharta/util/metric/metricTitles.ts +0 -19
- package/app/codeCharta/util/mockHelper.ts +0 -8
- package/app/codeCharta/util/nodeDecorator.spec.ts +0 -466
- package/app/codeCharta/util/nodeDecorator.ts +0 -358
- package/app/codeCharta/util/nodePathHelper.ts +0 -30
- package/app/codeCharta/util/parseNumberInput.spec.ts +0 -18
- package/app/codeCharta/util/parseNumberInput.ts +0 -10
- package/app/codeCharta/util/pipes/AttributeDescriptorTooltipPipeModule.ts +0 -8
- package/app/codeCharta/util/pipes/RemoveExtensionPipeModule.ts +0 -8
- package/app/codeCharta/util/pipes/TruncateTextPipeModule.ts +0 -8
- package/app/codeCharta/util/pipes/attributeDescriptorTooltip.pipe.spec.ts +0 -61
- package/app/codeCharta/util/pipes/attributeDescriptorTooltip.pipe.ts +0 -19
- package/app/codeCharta/util/pipes/removeExtension.pipe.spec.ts +0 -15
- package/app/codeCharta/util/pipes/removeExtension.pipe.ts +0 -10
- package/app/codeCharta/util/pipes/truncateText.pipe.ts +0 -8
- package/app/codeCharta/util/pipes/truncateText.spec.ts +0 -19
- package/app/codeCharta/util/settingsHelper.spec.ts +0 -47
- package/app/codeCharta/util/settingsHelper.ts +0 -17
- package/app/codeCharta/util/testUtils/markdown-transformer.js +0 -11
- package/app/codeCharta/util/testUtils/store.utils.ts +0 -6
- package/app/codeCharta/util/testUtils/wait.ts +0 -1
- package/app/codeCharta/util/uploadFiles/createCCFileInput.spec.ts +0 -13
- package/app/codeCharta/util/uploadFiles/createCCFileInput.ts +0 -8
- package/app/codeCharta/util/uploadFiles/loadFilesValidationToErrorDialog.spec.ts +0 -16
- package/app/codeCharta/util/uploadFiles/readFiles.spec.ts +0 -16
- package/app/codeCharta/util/uploadFiles/readFiles.ts +0 -37
- package/app/index.html +0 -12
- package/app/material/_theme.scss +0 -64
- package/app/material/matDialog.scss +0 -3
- package/app/material/matMenu.scss +0 -16
- package/app/material/material.module.ts +0 -49
- package/app/material/material.scss +0 -23
- package/app/mixins.scss +0 -8
- package/app/polyfills.ts +0 -28
- package/app/puppeteer.helper.ts +0 -19
|
@@ -1,2341 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AttributeTypeValue,
|
|
3
|
-
AttributeDescriptors,
|
|
4
|
-
BlacklistItem,
|
|
5
|
-
BlacklistType,
|
|
6
|
-
CCFile,
|
|
7
|
-
CodeMapNode,
|
|
8
|
-
ColorMode,
|
|
9
|
-
Edge,
|
|
10
|
-
EdgeMetricData,
|
|
11
|
-
EdgeVisibility,
|
|
12
|
-
FileMeta,
|
|
13
|
-
GlobalSettings,
|
|
14
|
-
LayoutAlgorithm,
|
|
15
|
-
MarkedPackage,
|
|
16
|
-
Node,
|
|
17
|
-
NodeMetricData,
|
|
18
|
-
NodeType,
|
|
19
|
-
RecursivePartial,
|
|
20
|
-
Scenario,
|
|
21
|
-
Settings,
|
|
22
|
-
SharpnessMode,
|
|
23
|
-
SortingOption,
|
|
24
|
-
CcState
|
|
25
|
-
} from "../codeCharta.model"
|
|
26
|
-
import { CodeMapBuilding } from "../ui/codeMap/rendering/codeMapBuilding"
|
|
27
|
-
import { Box3, Vector3 } from "three"
|
|
28
|
-
import { hierarchy } from "d3-hierarchy"
|
|
29
|
-
import { FileSelectionState, FileState } from "../model/files/files"
|
|
30
|
-
import { APIVersions, ExportCCFile } from "../codeCharta.api.model"
|
|
31
|
-
import packageJson from "../../../package.json"
|
|
32
|
-
import { isLeaf } from "./codeMapHelper"
|
|
33
|
-
import { CustomConfigItemGroup } from "../ui/customConfigs/customConfigs.component"
|
|
34
|
-
import { CustomConfigMapSelectionMode } from "../model/customConfig/customConfig.api.model"
|
|
35
|
-
import { ScenarioItem, ScenarioMetricProperty } from "../ui/ribbonBar/showScenariosButton/scenarioHelper"
|
|
36
|
-
import { UNARY_METRIC } from "../state/selectors/accumulatedData/metricData/nodeMetricData.calculator"
|
|
37
|
-
|
|
38
|
-
const DEFAULT_FILE_META = {
|
|
39
|
-
projectName: "Sample Project",
|
|
40
|
-
apiVersion: packageJson.codecharta.apiVersion,
|
|
41
|
-
exportedFileSize: 300_000,
|
|
42
|
-
fileName: "file",
|
|
43
|
-
fileChecksum: "md5-delta-file"
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const DEFAULT_FILE_MAP: CodeMapNode = {
|
|
47
|
-
name: "root",
|
|
48
|
-
type: NodeType.FOLDER,
|
|
49
|
-
attributes: {},
|
|
50
|
-
isExcluded: false,
|
|
51
|
-
isFlattened: false,
|
|
52
|
-
children: []
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export const VALID_EDGES: Edge[] = [
|
|
56
|
-
{
|
|
57
|
-
fromNodeName: "/root/big leaf",
|
|
58
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
59
|
-
attributes: {
|
|
60
|
-
pairingRate: 89,
|
|
61
|
-
avgCommits: 34
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
fromNodeName: "/root/Parent Leaf/other small leaf",
|
|
66
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
67
|
-
attributes: {
|
|
68
|
-
pairingRate: 89,
|
|
69
|
-
otherMetric: 34
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
fromNodeName: "/root/not available",
|
|
74
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
75
|
-
attributes: {
|
|
76
|
-
pairingRate: 89,
|
|
77
|
-
avgCommits: 34
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
|
|
82
|
-
const DEFAULT_ROOT: CodeMapNode = { name: "root", attributes: {}, type: NodeType.FOLDER, isExcluded: false, isFlattened: false }
|
|
83
|
-
|
|
84
|
-
const DEFAULT_SETTINGS = {
|
|
85
|
-
fileSettings: {
|
|
86
|
-
attributeTypes: { nodes: {}, edges: {} },
|
|
87
|
-
attributeDescriptors: {},
|
|
88
|
-
blacklist: [],
|
|
89
|
-
edges: VALID_EDGES,
|
|
90
|
-
markedPackages: []
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
export const DEFAULT_CC_FILE_MOCK: CCFile = {
|
|
94
|
-
fileMeta: DEFAULT_FILE_META,
|
|
95
|
-
map: DEFAULT_FILE_MAP,
|
|
96
|
-
settings: DEFAULT_SETTINGS
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export const TEST_ATTRIBUTE_TYPES = {
|
|
100
|
-
nodes: { test: AttributeTypeValue.absolute },
|
|
101
|
-
edges: { test: AttributeTypeValue.absolute }
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export const TEST_ATTRIBUTE_DESCRIPTORS_HALF_FILLED: AttributeDescriptors = {
|
|
105
|
-
mcc: {
|
|
106
|
-
title: "Maximum Cyclic Complexity",
|
|
107
|
-
description: "Maximum cyclic complexity",
|
|
108
|
-
hintLowValue: "",
|
|
109
|
-
hintHighValue: "",
|
|
110
|
-
link: "https://www.npmjs.com/package/metric-gardener"
|
|
111
|
-
},
|
|
112
|
-
rloc: {
|
|
113
|
-
title: "",
|
|
114
|
-
description: "",
|
|
115
|
-
hintLowValue: "",
|
|
116
|
-
hintHighValue: "",
|
|
117
|
-
link: "https://www.npmjs.com/package/metric-gardener"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export const TEST_ATTRIBUTE_DESCRIPTORS: AttributeDescriptors = {
|
|
122
|
-
a: {
|
|
123
|
-
title: "a_testTitle",
|
|
124
|
-
description: "a_testDescription",
|
|
125
|
-
hintHighValue: "",
|
|
126
|
-
hintLowValue: "",
|
|
127
|
-
link: ""
|
|
128
|
-
},
|
|
129
|
-
b: {
|
|
130
|
-
title: "b_testTitle",
|
|
131
|
-
description: "",
|
|
132
|
-
hintHighValue: "",
|
|
133
|
-
hintLowValue: "",
|
|
134
|
-
link: "https://test.link"
|
|
135
|
-
},
|
|
136
|
-
c: {
|
|
137
|
-
title: undefined,
|
|
138
|
-
description: "c_testDescription",
|
|
139
|
-
hintHighValue: undefined,
|
|
140
|
-
hintLowValue: undefined,
|
|
141
|
-
link: undefined
|
|
142
|
-
},
|
|
143
|
-
d: {
|
|
144
|
-
title: "",
|
|
145
|
-
description: "",
|
|
146
|
-
hintHighValue: "",
|
|
147
|
-
hintLowValue: "",
|
|
148
|
-
link: "https://test2.link"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export const TEST_ATTRIBUTE_DESCRIPTORS_FULL: AttributeDescriptors = {
|
|
153
|
-
fullMetric: {
|
|
154
|
-
title: "FullTestTitle",
|
|
155
|
-
description: "FullTestDescription",
|
|
156
|
-
hintHighValue: "FullTestHigh",
|
|
157
|
-
hintLowValue: "FullLowValue",
|
|
158
|
-
link: "https://test.abc"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export const VALID_NODE: CodeMapNode = {
|
|
163
|
-
...DEFAULT_ROOT,
|
|
164
|
-
children: [
|
|
165
|
-
{
|
|
166
|
-
name: "big leaf",
|
|
167
|
-
type: NodeType.FILE,
|
|
168
|
-
attributes: { rloc: 100, functions: 10, mcc: 1 },
|
|
169
|
-
isExcluded: false,
|
|
170
|
-
isFlattened: false,
|
|
171
|
-
link: "https://www.google.de"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
name: "Parent Leaf",
|
|
175
|
-
type: NodeType.FOLDER,
|
|
176
|
-
attributes: {},
|
|
177
|
-
isExcluded: false,
|
|
178
|
-
isFlattened: false,
|
|
179
|
-
children: [
|
|
180
|
-
{
|
|
181
|
-
name: "small leaf",
|
|
182
|
-
type: NodeType.FILE,
|
|
183
|
-
attributes: { rloc: 30, functions: 100, mcc: 100 },
|
|
184
|
-
isExcluded: false,
|
|
185
|
-
isFlattened: false
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: "other small leaf",
|
|
189
|
-
type: NodeType.FILE,
|
|
190
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10 },
|
|
191
|
-
isExcluded: false,
|
|
192
|
-
isFlattened: false
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
]
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
export const VALID_NODE_JAVA: CodeMapNode = {
|
|
200
|
-
...DEFAULT_ROOT,
|
|
201
|
-
children: [
|
|
202
|
-
{
|
|
203
|
-
name: "main",
|
|
204
|
-
path: "/root/src/main",
|
|
205
|
-
type: NodeType.FOLDER,
|
|
206
|
-
attributes: {},
|
|
207
|
-
children: [
|
|
208
|
-
{
|
|
209
|
-
name: "file1.java",
|
|
210
|
-
path: "/root/src/main/file1.java",
|
|
211
|
-
type: NodeType.FILE,
|
|
212
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10, loc: 2000 }
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
name: "file2.java",
|
|
216
|
-
path: "/root/src/main/file2.java",
|
|
217
|
-
type: NodeType.FILE,
|
|
218
|
-
attributes: { rloc: 55, functions: 100, mcc: 40, loc: 100 }
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
name: "file3.java",
|
|
222
|
-
path: "/root/src/main/file3.java",
|
|
223
|
-
type: NodeType.FILE,
|
|
224
|
-
attributes: { rloc: 45, functions: 1, mcc: 70, loc: 1 }
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
name: "readme",
|
|
228
|
-
path: "/root/src/main/readme",
|
|
229
|
-
type: NodeType.FILE,
|
|
230
|
-
attributes: { rloc: 200, functions: 1, mcc: 70, loc: 1 }
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
name: "test",
|
|
236
|
-
path: "/root/src/test",
|
|
237
|
-
type: NodeType.FOLDER,
|
|
238
|
-
attributes: {},
|
|
239
|
-
children: [
|
|
240
|
-
{
|
|
241
|
-
name: "otherFile.java",
|
|
242
|
-
path: "/root/src/test/otherFile.java",
|
|
243
|
-
type: NodeType.FILE,
|
|
244
|
-
attributes: { rloc: 100, functions: 10, mcc: 100 }
|
|
245
|
-
}
|
|
246
|
-
]
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
export const VALID_NODE_WITH_MULTIPLE_FOLDERS: CodeMapNode = {
|
|
252
|
-
...DEFAULT_ROOT,
|
|
253
|
-
attributes: { [UNARY_METRIC]: 200 },
|
|
254
|
-
|
|
255
|
-
children: [
|
|
256
|
-
{
|
|
257
|
-
name: "big leaf",
|
|
258
|
-
type: NodeType.FILE,
|
|
259
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
260
|
-
link: "https://www.google.de",
|
|
261
|
-
isExcluded: false,
|
|
262
|
-
isFlattened: false
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
name: "Folder1",
|
|
266
|
-
type: NodeType.FOLDER,
|
|
267
|
-
attributes: { [UNARY_METRIC]: 60 },
|
|
268
|
-
isExcluded: false,
|
|
269
|
-
isFlattened: false,
|
|
270
|
-
children: []
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
name: "Folder2",
|
|
274
|
-
type: NodeType.FOLDER,
|
|
275
|
-
attributes: { [UNARY_METRIC]: 40 },
|
|
276
|
-
isExcluded: false,
|
|
277
|
-
isFlattened: false,
|
|
278
|
-
children: []
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
name: "Folder3",
|
|
282
|
-
type: NodeType.FOLDER,
|
|
283
|
-
attributes: { [UNARY_METRIC]: 160 },
|
|
284
|
-
isExcluded: false,
|
|
285
|
-
isFlattened: false,
|
|
286
|
-
children: [
|
|
287
|
-
{
|
|
288
|
-
name: "small leaf",
|
|
289
|
-
type: NodeType.FILE,
|
|
290
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
291
|
-
isExcluded: false,
|
|
292
|
-
isFlattened: false
|
|
293
|
-
}
|
|
294
|
-
]
|
|
295
|
-
}
|
|
296
|
-
]
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
export const VALID_NODE_WITH_MULTIPLE_FOLDERS_REVERSED: CodeMapNode = {
|
|
300
|
-
...DEFAULT_ROOT,
|
|
301
|
-
attributes: { [UNARY_METRIC]: 200 },
|
|
302
|
-
|
|
303
|
-
children: [
|
|
304
|
-
{
|
|
305
|
-
name: "Folder3",
|
|
306
|
-
type: NodeType.FOLDER,
|
|
307
|
-
attributes: { [UNARY_METRIC]: 160 },
|
|
308
|
-
isExcluded: false,
|
|
309
|
-
isFlattened: false,
|
|
310
|
-
children: [
|
|
311
|
-
{
|
|
312
|
-
name: "small leaf",
|
|
313
|
-
type: NodeType.FILE,
|
|
314
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
315
|
-
isExcluded: false,
|
|
316
|
-
isFlattened: false
|
|
317
|
-
}
|
|
318
|
-
]
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
name: "Folder2",
|
|
322
|
-
type: NodeType.FOLDER,
|
|
323
|
-
attributes: { [UNARY_METRIC]: 40 },
|
|
324
|
-
isExcluded: false,
|
|
325
|
-
isFlattened: false,
|
|
326
|
-
children: []
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
name: "Folder1",
|
|
330
|
-
type: NodeType.FOLDER,
|
|
331
|
-
attributes: { [UNARY_METRIC]: 60 },
|
|
332
|
-
isExcluded: false,
|
|
333
|
-
isFlattened: false,
|
|
334
|
-
children: []
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
name: "big leaf",
|
|
338
|
-
type: NodeType.FILE,
|
|
339
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
340
|
-
link: "https://www.google.de",
|
|
341
|
-
isExcluded: false,
|
|
342
|
-
isFlattened: false
|
|
343
|
-
}
|
|
344
|
-
]
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
export const VALID_NODE_WITH_MULTIPLE_FOLDERS_SORTED_BY_UNARY: CodeMapNode = {
|
|
348
|
-
...DEFAULT_ROOT,
|
|
349
|
-
attributes: { [UNARY_METRIC]: 200 },
|
|
350
|
-
|
|
351
|
-
children: [
|
|
352
|
-
{
|
|
353
|
-
name: "Folder3",
|
|
354
|
-
type: NodeType.FOLDER,
|
|
355
|
-
attributes: { [UNARY_METRIC]: 160 },
|
|
356
|
-
isExcluded: false,
|
|
357
|
-
isFlattened: false,
|
|
358
|
-
children: [
|
|
359
|
-
{
|
|
360
|
-
name: "small leaf",
|
|
361
|
-
type: NodeType.FILE,
|
|
362
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
363
|
-
isExcluded: false,
|
|
364
|
-
isFlattened: false
|
|
365
|
-
}
|
|
366
|
-
]
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
name: "Folder1",
|
|
370
|
-
type: NodeType.FOLDER,
|
|
371
|
-
attributes: { [UNARY_METRIC]: 60 },
|
|
372
|
-
isExcluded: false,
|
|
373
|
-
isFlattened: false,
|
|
374
|
-
children: []
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
name: "Folder2",
|
|
378
|
-
type: NodeType.FOLDER,
|
|
379
|
-
attributes: { [UNARY_METRIC]: 40 },
|
|
380
|
-
isExcluded: false,
|
|
381
|
-
isFlattened: false,
|
|
382
|
-
children: []
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
name: "big leaf",
|
|
386
|
-
type: NodeType.FILE,
|
|
387
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
388
|
-
link: "https://www.google.de",
|
|
389
|
-
isExcluded: false,
|
|
390
|
-
isFlattened: false
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export const VALID_NODE_WITH_MULTIPLE_FOLDERS_SORTED_BY_NAME: CodeMapNode = {
|
|
396
|
-
...DEFAULT_ROOT,
|
|
397
|
-
attributes: { [UNARY_METRIC]: 200 },
|
|
398
|
-
|
|
399
|
-
children: [
|
|
400
|
-
{
|
|
401
|
-
name: "Folder1",
|
|
402
|
-
type: NodeType.FOLDER,
|
|
403
|
-
attributes: { [UNARY_METRIC]: 60 },
|
|
404
|
-
isExcluded: false,
|
|
405
|
-
isFlattened: false,
|
|
406
|
-
children: []
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
name: "Folder2",
|
|
410
|
-
type: NodeType.FOLDER,
|
|
411
|
-
attributes: { [UNARY_METRIC]: 40 },
|
|
412
|
-
isExcluded: false,
|
|
413
|
-
isFlattened: false,
|
|
414
|
-
children: []
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
name: "Folder3",
|
|
418
|
-
type: NodeType.FOLDER,
|
|
419
|
-
attributes: { [UNARY_METRIC]: 160 },
|
|
420
|
-
isExcluded: false,
|
|
421
|
-
isFlattened: false,
|
|
422
|
-
children: [
|
|
423
|
-
{
|
|
424
|
-
name: "small leaf",
|
|
425
|
-
type: NodeType.FILE,
|
|
426
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
427
|
-
isExcluded: false,
|
|
428
|
-
isFlattened: false
|
|
429
|
-
}
|
|
430
|
-
]
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
name: "big leaf",
|
|
434
|
-
type: NodeType.FILE,
|
|
435
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
436
|
-
link: "https://www.google.de",
|
|
437
|
-
isExcluded: false,
|
|
438
|
-
isFlattened: false
|
|
439
|
-
}
|
|
440
|
-
]
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export const VALID_NODE_NUMBERS_AND_DIACTRIC_CHARACHTERS_SORTED: CodeMapNode = {
|
|
444
|
-
...DEFAULT_ROOT,
|
|
445
|
-
attributes: { [UNARY_METRIC]: 200 },
|
|
446
|
-
|
|
447
|
-
children: [
|
|
448
|
-
{
|
|
449
|
-
name: "Folder1",
|
|
450
|
-
type: NodeType.FOLDER,
|
|
451
|
-
attributes: { [UNARY_METRIC]: 60 },
|
|
452
|
-
isExcluded: false,
|
|
453
|
-
isFlattened: false,
|
|
454
|
-
children: []
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
name: "Folder2",
|
|
458
|
-
type: NodeType.FOLDER,
|
|
459
|
-
attributes: { [UNARY_METRIC]: 160 },
|
|
460
|
-
isExcluded: false,
|
|
461
|
-
isFlattened: false,
|
|
462
|
-
children: [
|
|
463
|
-
{
|
|
464
|
-
name: "File2a",
|
|
465
|
-
type: NodeType.FILE,
|
|
466
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
467
|
-
isExcluded: false,
|
|
468
|
-
isFlattened: false
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
name: "File2á",
|
|
472
|
-
type: NodeType.FILE,
|
|
473
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
474
|
-
isExcluded: false,
|
|
475
|
-
isFlattened: false
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
name: "File2b",
|
|
479
|
-
type: NodeType.FILE,
|
|
480
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
481
|
-
isExcluded: false,
|
|
482
|
-
isFlattened: false
|
|
483
|
-
}
|
|
484
|
-
]
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
name: "Folder10",
|
|
488
|
-
type: NodeType.FOLDER,
|
|
489
|
-
attributes: { [UNARY_METRIC]: 40 },
|
|
490
|
-
isExcluded: false,
|
|
491
|
-
isFlattened: false,
|
|
492
|
-
children: []
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
name: "big leaf",
|
|
496
|
-
type: NodeType.FILE,
|
|
497
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
498
|
-
link: "https://www.google.de",
|
|
499
|
-
isExcluded: false,
|
|
500
|
-
isFlattened: false
|
|
501
|
-
}
|
|
502
|
-
]
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
export const VALID_NODE_NUMBERS_AND_DIACTRIC_CHARACHTERS: CodeMapNode = {
|
|
506
|
-
...DEFAULT_ROOT,
|
|
507
|
-
attributes: { [UNARY_METRIC]: 200 },
|
|
508
|
-
|
|
509
|
-
children: [
|
|
510
|
-
{
|
|
511
|
-
name: "big leaf",
|
|
512
|
-
type: NodeType.FILE,
|
|
513
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
514
|
-
link: "https://www.google.de",
|
|
515
|
-
isExcluded: false,
|
|
516
|
-
isFlattened: false
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
name: "Folder1",
|
|
520
|
-
type: NodeType.FOLDER,
|
|
521
|
-
attributes: { [UNARY_METRIC]: 60 },
|
|
522
|
-
isExcluded: false,
|
|
523
|
-
isFlattened: false,
|
|
524
|
-
children: []
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
name: "Folder10",
|
|
528
|
-
type: NodeType.FOLDER,
|
|
529
|
-
attributes: { [UNARY_METRIC]: 40 },
|
|
530
|
-
isExcluded: false,
|
|
531
|
-
isFlattened: false,
|
|
532
|
-
children: []
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
name: "Folder2",
|
|
536
|
-
type: NodeType.FOLDER,
|
|
537
|
-
attributes: { [UNARY_METRIC]: 160 },
|
|
538
|
-
isExcluded: false,
|
|
539
|
-
isFlattened: false,
|
|
540
|
-
children: [
|
|
541
|
-
{
|
|
542
|
-
name: "File2a",
|
|
543
|
-
type: NodeType.FILE,
|
|
544
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
545
|
-
isExcluded: false,
|
|
546
|
-
isFlattened: false
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
name: "File2b",
|
|
550
|
-
type: NodeType.FILE,
|
|
551
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
552
|
-
isExcluded: false,
|
|
553
|
-
isFlattened: false
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
name: "File2á",
|
|
557
|
-
type: NodeType.FILE,
|
|
558
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
559
|
-
isExcluded: false,
|
|
560
|
-
isFlattened: false
|
|
561
|
-
}
|
|
562
|
-
]
|
|
563
|
-
}
|
|
564
|
-
]
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
export const VALID_NODE_WITH_PATH: CodeMapNode = {
|
|
568
|
-
name: "root",
|
|
569
|
-
attributes: {},
|
|
570
|
-
type: NodeType.FOLDER,
|
|
571
|
-
path: "/root",
|
|
572
|
-
isExcluded: false,
|
|
573
|
-
isFlattened: false,
|
|
574
|
-
children: [
|
|
575
|
-
{
|
|
576
|
-
name: "big leaf",
|
|
577
|
-
type: NodeType.FILE,
|
|
578
|
-
path: "/root/big leaf",
|
|
579
|
-
attributes: { rloc: 100, functions: 10, mcc: 1 },
|
|
580
|
-
link: "https://www.google.de",
|
|
581
|
-
isExcluded: false,
|
|
582
|
-
isFlattened: false
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
name: "Parent Leaf",
|
|
586
|
-
type: NodeType.FOLDER,
|
|
587
|
-
attributes: {},
|
|
588
|
-
path: "/root/Parent Leaf",
|
|
589
|
-
isExcluded: false,
|
|
590
|
-
isFlattened: false,
|
|
591
|
-
children: [
|
|
592
|
-
{
|
|
593
|
-
name: "small leaf",
|
|
594
|
-
type: NodeType.FILE,
|
|
595
|
-
path: "/root/Parent Leaf/small leaf",
|
|
596
|
-
attributes: { rloc: 30, functions: 100, mcc: 100 },
|
|
597
|
-
isExcluded: false,
|
|
598
|
-
isFlattened: false
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
name: "other small leaf",
|
|
602
|
-
type: NodeType.FILE,
|
|
603
|
-
path: "/root/Parent Leaf/other small leaf",
|
|
604
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10 },
|
|
605
|
-
isExcluded: false,
|
|
606
|
-
isFlattened: false
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
name: "empty folder",
|
|
610
|
-
type: NodeType.FOLDER,
|
|
611
|
-
path: "/root/Parent Leaf/empty folder",
|
|
612
|
-
attributes: {},
|
|
613
|
-
isExcluded: false,
|
|
614
|
-
isFlattened: false,
|
|
615
|
-
children: []
|
|
616
|
-
}
|
|
617
|
-
]
|
|
618
|
-
}
|
|
619
|
-
]
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
export const VALID_FILE_NODE_WITH_ID: CodeMapNode = {
|
|
623
|
-
name: "big leaf",
|
|
624
|
-
id: 1,
|
|
625
|
-
type: NodeType.FILE,
|
|
626
|
-
path: "/root/big leaf",
|
|
627
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
628
|
-
link: "https://www.google.de",
|
|
629
|
-
isExcluded: false,
|
|
630
|
-
isFlattened: false
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
export const VALID_NODES_WITH_ID: CodeMapNode = {
|
|
634
|
-
name: "root",
|
|
635
|
-
type: NodeType.FOLDER,
|
|
636
|
-
id: 0,
|
|
637
|
-
attributes: { a: 20, b: 15 },
|
|
638
|
-
edgeAttributes: { a: { incoming: 2, outgoing: 666 } },
|
|
639
|
-
path: "/root",
|
|
640
|
-
link: "NO_LINK",
|
|
641
|
-
isExcluded: false,
|
|
642
|
-
isFlattened: false,
|
|
643
|
-
children: [VALID_FILE_NODE_WITH_ID]
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
export const VALID_NODE_WITH_ROOT_UNARY: CodeMapNode = {
|
|
647
|
-
name: "root",
|
|
648
|
-
type: NodeType.FOLDER,
|
|
649
|
-
isExcluded: false,
|
|
650
|
-
isFlattened: false,
|
|
651
|
-
path: "/root",
|
|
652
|
-
attributes: { [UNARY_METRIC]: 2 },
|
|
653
|
-
children: [
|
|
654
|
-
{
|
|
655
|
-
name: "first leaf",
|
|
656
|
-
type: NodeType.FILE,
|
|
657
|
-
path: "/root/first leaf",
|
|
658
|
-
attributes: { [UNARY_METRIC]: 1, functions: 10, mcc: 1 },
|
|
659
|
-
isExcluded: false,
|
|
660
|
-
isFlattened: false
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
name: "second leaf",
|
|
664
|
-
type: NodeType.FILE,
|
|
665
|
-
path: "/root/second leaf",
|
|
666
|
-
attributes: { [UNARY_METRIC]: 1, functions: 5, mcc: 1 },
|
|
667
|
-
isExcluded: false,
|
|
668
|
-
isFlattened: false
|
|
669
|
-
}
|
|
670
|
-
]
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
export const VALID_NODE_DECORATED: CodeMapNode = {
|
|
674
|
-
name: "root",
|
|
675
|
-
type: NodeType.FOLDER,
|
|
676
|
-
isExcluded: false,
|
|
677
|
-
isFlattened: false,
|
|
678
|
-
path: "/root",
|
|
679
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 5 },
|
|
680
|
-
children: [
|
|
681
|
-
{
|
|
682
|
-
name: "big leaf",
|
|
683
|
-
type: NodeType.FILE,
|
|
684
|
-
path: "/root/big leaf",
|
|
685
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
686
|
-
link: "https://www.google.de",
|
|
687
|
-
isExcluded: false,
|
|
688
|
-
isFlattened: false
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
name: "Parent Leaf",
|
|
692
|
-
type: NodeType.FOLDER,
|
|
693
|
-
attributes: { rloc: 100, functions: 10, mcc: 1, [UNARY_METRIC]: 1 },
|
|
694
|
-
path: "/root/Parent Leaf",
|
|
695
|
-
isExcluded: false,
|
|
696
|
-
isFlattened: false,
|
|
697
|
-
children: [
|
|
698
|
-
{
|
|
699
|
-
name: "small leaf",
|
|
700
|
-
type: NodeType.FILE,
|
|
701
|
-
path: "/root/Parent Leaf/small leaf",
|
|
702
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, [UNARY_METRIC]: 1 },
|
|
703
|
-
isExcluded: false,
|
|
704
|
-
isFlattened: false
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
name: "other small leaf",
|
|
708
|
-
type: NodeType.FILE,
|
|
709
|
-
path: "/root/Parent Leaf/other small leaf",
|
|
710
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10, [UNARY_METRIC]: 1 },
|
|
711
|
-
edgeAttributes: { Imports: { incoming: 12, outgoing: 13 } },
|
|
712
|
-
isExcluded: false,
|
|
713
|
-
isFlattened: false
|
|
714
|
-
}
|
|
715
|
-
]
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
export const VALID_EDGES_DECORATED: Edge[] = [
|
|
721
|
-
{
|
|
722
|
-
fromNodeName: "/root/big leaf",
|
|
723
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
724
|
-
attributes: {
|
|
725
|
-
pairingRate: 89,
|
|
726
|
-
avgCommits: 34
|
|
727
|
-
},
|
|
728
|
-
visible: EdgeVisibility.from
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
fromNodeName: "/root/Parent Leaf/small leaf",
|
|
732
|
-
toNodeName: "/root/different leaf",
|
|
733
|
-
attributes: {
|
|
734
|
-
pairingRate: 89,
|
|
735
|
-
avgCommits: 34
|
|
736
|
-
},
|
|
737
|
-
visible: EdgeVisibility.from
|
|
738
|
-
},
|
|
739
|
-
|
|
740
|
-
{
|
|
741
|
-
fromNodeName: "/root/Parent Leaf/other small leaf",
|
|
742
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
743
|
-
attributes: {
|
|
744
|
-
pairingRate: 89,
|
|
745
|
-
otherMetric: 34
|
|
746
|
-
},
|
|
747
|
-
visible: EdgeVisibility.none
|
|
748
|
-
}
|
|
749
|
-
]
|
|
750
|
-
|
|
751
|
-
export const VALID_EDGE: Edge = {
|
|
752
|
-
fromNodeName: "/root/big leaf",
|
|
753
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
754
|
-
attributes: {
|
|
755
|
-
pairingRate: 89,
|
|
756
|
-
avgCommits: 34
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
export const TEST_FILE_CONTENT: ExportCCFile = {
|
|
761
|
-
projectName: "Sample Map",
|
|
762
|
-
fileChecksum: "invalid-md5-sample",
|
|
763
|
-
apiVersion: APIVersions.ONE_POINT_THREE,
|
|
764
|
-
nodes: [VALID_NODE]
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
export const TEST_FILE_CONTENT_INVALID_MAJOR_API: ExportCCFile = {
|
|
768
|
-
fileChecksum: "invalid-md5-sample",
|
|
769
|
-
projectName: "Invalid Sample Map",
|
|
770
|
-
apiVersion: "2.0",
|
|
771
|
-
nodes: [VALID_NODE]
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
export const TEST_FILE_CONTENT_INVALID_MINOR_API: ExportCCFile = {
|
|
775
|
-
projectName: "Valid Sample Map Minor API High",
|
|
776
|
-
fileChecksum: "invalid-md5-sample",
|
|
777
|
-
apiVersion: "1.4",
|
|
778
|
-
nodes: [VALID_NODE]
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
export const TEST_FILE_CONTENT_INVALID_API: ExportCCFile = {
|
|
782
|
-
projectName: "Invalid Sample Map",
|
|
783
|
-
fileChecksum: "invalid-md5-sample",
|
|
784
|
-
apiVersion: "2.a",
|
|
785
|
-
nodes: [VALID_NODE]
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
export const TEST_FILE_CONTENT_NO_API: ExportCCFile = {
|
|
789
|
-
projectName: "Invalid Sample Map",
|
|
790
|
-
fileChecksum: "invalid-md5-sample",
|
|
791
|
-
apiVersion: null,
|
|
792
|
-
nodes: [VALID_NODE]
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
export const FILE_META: FileMeta = {
|
|
796
|
-
...DEFAULT_FILE_META,
|
|
797
|
-
fileName: "fileA",
|
|
798
|
-
fileChecksum: "md5-fileA"
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
export const TEST_FILE_DATA: CCFile = {
|
|
802
|
-
fileMeta: FILE_META,
|
|
803
|
-
map: VALID_NODE,
|
|
804
|
-
settings: DEFAULT_SETTINGS
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
export const TEST_FILE_DATA_JAVA: CCFile = {
|
|
808
|
-
fileMeta: { ...FILE_META, fileChecksum: "md5-fileB", fileName: "fileB" },
|
|
809
|
-
map: VALID_NODE_JAVA,
|
|
810
|
-
settings: DEFAULT_SETTINGS
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
export const FIXED_FOLDERS_NESTED_MIXED_WITH_DYNAMIC_ONES_MAP_FILE: CCFile = {
|
|
814
|
-
fileMeta: FILE_META,
|
|
815
|
-
map: {
|
|
816
|
-
name: "root",
|
|
817
|
-
type: NodeType.FOLDER,
|
|
818
|
-
path: "/root",
|
|
819
|
-
attributes: {},
|
|
820
|
-
isExcluded: false,
|
|
821
|
-
isFlattened: false,
|
|
822
|
-
children: [
|
|
823
|
-
{
|
|
824
|
-
name: "src",
|
|
825
|
-
path: "/root/src",
|
|
826
|
-
type: NodeType.FOLDER,
|
|
827
|
-
attributes: {},
|
|
828
|
-
children: [
|
|
829
|
-
{
|
|
830
|
-
name: "main",
|
|
831
|
-
path: "/root/src/main",
|
|
832
|
-
type: NodeType.FOLDER,
|
|
833
|
-
attributes: {},
|
|
834
|
-
children: [
|
|
835
|
-
{
|
|
836
|
-
name: "file1.java",
|
|
837
|
-
path: "/root/src/main/file1.java",
|
|
838
|
-
type: NodeType.FILE,
|
|
839
|
-
attributes: {
|
|
840
|
-
rloc: 80
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
name: "file2.java",
|
|
845
|
-
path: "/root/src/main/file2.java",
|
|
846
|
-
type: NodeType.FILE,
|
|
847
|
-
attributes: {
|
|
848
|
-
rloc: 80
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
]
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
name: "test",
|
|
855
|
-
path: "/root/src/test",
|
|
856
|
-
type: NodeType.FOLDER,
|
|
857
|
-
attributes: {},
|
|
858
|
-
children: [
|
|
859
|
-
{
|
|
860
|
-
name: "otherFile.java",
|
|
861
|
-
path: "/root/src/test/otherFile.java",
|
|
862
|
-
type: NodeType.FILE,
|
|
863
|
-
attributes: {
|
|
864
|
-
rloc: 65
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
]
|
|
868
|
-
}
|
|
869
|
-
],
|
|
870
|
-
fixedPosition: {
|
|
871
|
-
left: 34,
|
|
872
|
-
top: 2,
|
|
873
|
-
width: 35,
|
|
874
|
-
height: 55
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
name: "resources",
|
|
879
|
-
path: "/root/resources",
|
|
880
|
-
type: NodeType.FOLDER,
|
|
881
|
-
attributes: {},
|
|
882
|
-
children: [
|
|
883
|
-
{
|
|
884
|
-
name: "textFiles",
|
|
885
|
-
path: "/root/resources/textFiles",
|
|
886
|
-
type: NodeType.FOLDER,
|
|
887
|
-
attributes: {},
|
|
888
|
-
children: [
|
|
889
|
-
{
|
|
890
|
-
name: "file.txt",
|
|
891
|
-
path: "/root/resources/textFiles/file.txt",
|
|
892
|
-
type: NodeType.FILE,
|
|
893
|
-
attributes: {
|
|
894
|
-
rloc: 5
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
],
|
|
898
|
-
fixedPosition: {
|
|
899
|
-
left: 2,
|
|
900
|
-
top: 2,
|
|
901
|
-
width: 20,
|
|
902
|
-
height: 20
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
name: "tables",
|
|
907
|
-
path: "/root/resources/tables",
|
|
908
|
-
type: NodeType.FOLDER,
|
|
909
|
-
attributes: {},
|
|
910
|
-
children: [
|
|
911
|
-
{
|
|
912
|
-
name: "table1.xlsx",
|
|
913
|
-
path: "/root/resources/tables/table1.xlsx",
|
|
914
|
-
type: NodeType.FILE,
|
|
915
|
-
attributes: {
|
|
916
|
-
rloc: 12
|
|
917
|
-
}
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
name: "table2.xlsx",
|
|
921
|
-
path: "/root/resources/tables/table2.xlsx",
|
|
922
|
-
type: NodeType.FILE,
|
|
923
|
-
attributes: {
|
|
924
|
-
rloc: 12
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
{
|
|
928
|
-
name: "table3.xlsx",
|
|
929
|
-
path: "/root/resources/tables/table3.xlsx",
|
|
930
|
-
type: NodeType.FILE,
|
|
931
|
-
attributes: {
|
|
932
|
-
rloc: 12
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
name: "table4.xlsx",
|
|
937
|
-
path: "/root/resources/tables/table4.xlsx",
|
|
938
|
-
type: NodeType.FILE,
|
|
939
|
-
attributes: {
|
|
940
|
-
rloc: 12
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
name: "table5.xlsx",
|
|
945
|
-
path: "/root/resources/tables/table5.xlsx",
|
|
946
|
-
type: NodeType.FILE,
|
|
947
|
-
attributes: {
|
|
948
|
-
rloc: 12
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
name: "table6.xlsx",
|
|
953
|
-
path: "/root/resources/tables/table6.xlsx",
|
|
954
|
-
type: NodeType.FILE,
|
|
955
|
-
attributes: {
|
|
956
|
-
rloc: 12
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
{
|
|
960
|
-
name: "table7.xlsx",
|
|
961
|
-
path: "/root/resources/tables/table7.xlsx",
|
|
962
|
-
type: NodeType.FILE,
|
|
963
|
-
attributes: {
|
|
964
|
-
rloc: 12
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
name: "table8.xlsx",
|
|
969
|
-
path: "/root/resources/tables/table8.xlsx",
|
|
970
|
-
type: NodeType.FILE,
|
|
971
|
-
attributes: {
|
|
972
|
-
rloc: 12
|
|
973
|
-
}
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
name: "table9.xlsx",
|
|
977
|
-
path: "/root/resources/tables/table9.xlsx",
|
|
978
|
-
type: NodeType.FILE,
|
|
979
|
-
attributes: {
|
|
980
|
-
rloc: 12
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
name: "table10.xlsx",
|
|
985
|
-
path: "/root/resources/tables/table10.xlsx",
|
|
986
|
-
type: NodeType.FILE,
|
|
987
|
-
attributes: {
|
|
988
|
-
rloc: 12
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
],
|
|
992
|
-
fixedPosition: {
|
|
993
|
-
left: 52,
|
|
994
|
-
top: 52,
|
|
995
|
-
width: 48,
|
|
996
|
-
height: 48
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
],
|
|
1000
|
-
fixedPosition: {
|
|
1001
|
-
left: 20,
|
|
1002
|
-
top: 60,
|
|
1003
|
-
width: 50,
|
|
1004
|
-
height: 30
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
]
|
|
1008
|
-
},
|
|
1009
|
-
settings: {
|
|
1010
|
-
fileSettings: {
|
|
1011
|
-
attributeTypes: { nodes: {}, edges: {} },
|
|
1012
|
-
attributeDescriptors: {},
|
|
1013
|
-
blacklist: [],
|
|
1014
|
-
edges: [],
|
|
1015
|
-
markedPackages: []
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
export const FIXED_FOLDERS_NESTED_MIXED_WITH_A_FILE_MAP_FILE: CCFile = {
|
|
1021
|
-
fileMeta: FILE_META,
|
|
1022
|
-
map: {
|
|
1023
|
-
name: "root",
|
|
1024
|
-
type: NodeType.FOLDER,
|
|
1025
|
-
path: "/root",
|
|
1026
|
-
attributes: {},
|
|
1027
|
-
isExcluded: false,
|
|
1028
|
-
isFlattened: false,
|
|
1029
|
-
children: [
|
|
1030
|
-
{
|
|
1031
|
-
name: "folder_1_red",
|
|
1032
|
-
path: "/root/folder_1_red",
|
|
1033
|
-
type: NodeType.FOLDER,
|
|
1034
|
-
attributes: {},
|
|
1035
|
-
children: [
|
|
1036
|
-
{
|
|
1037
|
-
name: "folder_1.1_red",
|
|
1038
|
-
path: "/root/folder_1_red/folder_1.1_red",
|
|
1039
|
-
type: NodeType.FOLDER,
|
|
1040
|
-
attributes: {},
|
|
1041
|
-
children: [
|
|
1042
|
-
{
|
|
1043
|
-
name: "red_child_1.1.file",
|
|
1044
|
-
path: "/root/folder_1_red/folder_1.1_red/red_child_1.1.file",
|
|
1045
|
-
type: NodeType.FILE,
|
|
1046
|
-
attributes: {
|
|
1047
|
-
rloc: 12
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
],
|
|
1051
|
-
fixedPosition: {
|
|
1052
|
-
left: 10,
|
|
1053
|
-
top: 10,
|
|
1054
|
-
width: 80,
|
|
1055
|
-
height: 50
|
|
1056
|
-
}
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
name: "folder_1.2_red",
|
|
1060
|
-
path: "/root/folder_1_red/folder_1.2_red",
|
|
1061
|
-
type: NodeType.FOLDER,
|
|
1062
|
-
attributes: {},
|
|
1063
|
-
children: [
|
|
1064
|
-
{
|
|
1065
|
-
name: "red_child_1.2.file",
|
|
1066
|
-
path: "/root/folder_1_red/folder_1.2_red/red_child_1.2.file",
|
|
1067
|
-
type: NodeType.FILE,
|
|
1068
|
-
attributes: {
|
|
1069
|
-
rloc: 6
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
],
|
|
1073
|
-
fixedPosition: {
|
|
1074
|
-
left: 80,
|
|
1075
|
-
top: 70,
|
|
1076
|
-
width: 10,
|
|
1077
|
-
height: 10
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
],
|
|
1081
|
-
fixedPosition: {
|
|
1082
|
-
left: 10,
|
|
1083
|
-
top: 10,
|
|
1084
|
-
width: 40,
|
|
1085
|
-
height: 60
|
|
1086
|
-
}
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
name: "folder_2_orange",
|
|
1090
|
-
path: "/root/folder_2_orange",
|
|
1091
|
-
type: NodeType.FOLDER,
|
|
1092
|
-
attributes: {},
|
|
1093
|
-
children: [
|
|
1094
|
-
{
|
|
1095
|
-
name: "orange.file",
|
|
1096
|
-
path: "/root/folder_2_orange7orange.file",
|
|
1097
|
-
type: NodeType.FILE,
|
|
1098
|
-
attributes: {
|
|
1099
|
-
rloc: 10
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
],
|
|
1103
|
-
fixedPosition: {
|
|
1104
|
-
left: 10,
|
|
1105
|
-
top: 80,
|
|
1106
|
-
width: 50,
|
|
1107
|
-
height: 10
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
]
|
|
1111
|
-
},
|
|
1112
|
-
settings: {
|
|
1113
|
-
fileSettings: {
|
|
1114
|
-
attributeTypes: { nodes: {}, edges: {} },
|
|
1115
|
-
attributeDescriptors: {},
|
|
1116
|
-
blacklist: [],
|
|
1117
|
-
edges: [],
|
|
1118
|
-
markedPackages: []
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
export const TEST_FILE_WITH_PATHS: CCFile = {
|
|
1124
|
-
fileMeta: FILE_META,
|
|
1125
|
-
map: {
|
|
1126
|
-
name: "root",
|
|
1127
|
-
type: NodeType.FOLDER,
|
|
1128
|
-
path: "/root",
|
|
1129
|
-
attributes: {},
|
|
1130
|
-
isExcluded: false,
|
|
1131
|
-
isFlattened: false,
|
|
1132
|
-
children: [
|
|
1133
|
-
{
|
|
1134
|
-
name: "big leaf",
|
|
1135
|
-
type: NodeType.FILE,
|
|
1136
|
-
path: "/root/big leaf",
|
|
1137
|
-
attributes: { rloc: 100, functions: 10, mcc: 1 },
|
|
1138
|
-
link: "https://www.google.de",
|
|
1139
|
-
isExcluded: false,
|
|
1140
|
-
isFlattened: false
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
name: "Parent Leaf",
|
|
1144
|
-
type: NodeType.FOLDER,
|
|
1145
|
-
attributes: {},
|
|
1146
|
-
path: "/root/Parent Leaf",
|
|
1147
|
-
isExcluded: false,
|
|
1148
|
-
isFlattened: false,
|
|
1149
|
-
children: [
|
|
1150
|
-
{
|
|
1151
|
-
name: "small leaf",
|
|
1152
|
-
type: NodeType.FILE,
|
|
1153
|
-
path: "/root/Parent Leaf/small leaf",
|
|
1154
|
-
attributes: { rloc: 30, functions: 100, mcc: 100 },
|
|
1155
|
-
isExcluded: false,
|
|
1156
|
-
isFlattened: false
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
name: "other small leaf",
|
|
1160
|
-
type: NodeType.FILE,
|
|
1161
|
-
path: "/root/Parent Leaf/other small leaf",
|
|
1162
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10 },
|
|
1163
|
-
isExcluded: false,
|
|
1164
|
-
isFlattened: false
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
name: "empty folder",
|
|
1168
|
-
type: NodeType.FOLDER,
|
|
1169
|
-
path: "/root/Parent Leaf/empty folder",
|
|
1170
|
-
attributes: {},
|
|
1171
|
-
isExcluded: false,
|
|
1172
|
-
isFlattened: false,
|
|
1173
|
-
children: []
|
|
1174
|
-
}
|
|
1175
|
-
]
|
|
1176
|
-
}
|
|
1177
|
-
]
|
|
1178
|
-
},
|
|
1179
|
-
settings: DEFAULT_SETTINGS
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
export const SCENARIO_WITH_ONLY_HEIGHT: RecursivePartial<Scenario> = {
|
|
1183
|
-
name: "Scenario2",
|
|
1184
|
-
height: {
|
|
1185
|
-
heightMetric: "mcc",
|
|
1186
|
-
labelSlider: 31,
|
|
1187
|
-
heightSlider: new Vector3(1, 1.8, 1)
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
export const GLOBAL_SETTINGS: GlobalSettings = {
|
|
1192
|
-
hideFlatBuildings: true,
|
|
1193
|
-
isWhiteBackground: true,
|
|
1194
|
-
resetCameraIfNewFileIsLoaded: true,
|
|
1195
|
-
experimentalFeaturesEnabled: true,
|
|
1196
|
-
screenshotToClipboardEnabled: false,
|
|
1197
|
-
layoutAlgorithm: LayoutAlgorithm.SquarifiedTreeMap,
|
|
1198
|
-
maxTreeMapFiles: 50,
|
|
1199
|
-
sharpnessMode: SharpnessMode.Standard
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
export const VALID_NODE_WITH_PATH_AND_EXTENSION: CodeMapNode = {
|
|
1203
|
-
name: "root",
|
|
1204
|
-
attributes: {},
|
|
1205
|
-
type: NodeType.FOLDER,
|
|
1206
|
-
path: "/root",
|
|
1207
|
-
isExcluded: false,
|
|
1208
|
-
isFlattened: false,
|
|
1209
|
-
children: [
|
|
1210
|
-
{
|
|
1211
|
-
name: "big leaf.jpg",
|
|
1212
|
-
type: NodeType.FILE,
|
|
1213
|
-
path: "/root/big leaf.jpg",
|
|
1214
|
-
attributes: { rloc: 100, functions: 10, mcc: 1 },
|
|
1215
|
-
isExcluded: false,
|
|
1216
|
-
isFlattened: false
|
|
1217
|
-
},
|
|
1218
|
-
{
|
|
1219
|
-
name: "another big leaf.java",
|
|
1220
|
-
type: NodeType.FILE,
|
|
1221
|
-
path: "/root/another big leaf.java",
|
|
1222
|
-
attributes: { rloc: 120, functions: 20, mcc: 2 },
|
|
1223
|
-
isExcluded: false,
|
|
1224
|
-
isFlattened: false
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
name: "Parent Leaf",
|
|
1228
|
-
type: NodeType.FOLDER,
|
|
1229
|
-
attributes: {},
|
|
1230
|
-
path: "/root/Parent Leaf",
|
|
1231
|
-
isExcluded: false,
|
|
1232
|
-
isFlattened: false,
|
|
1233
|
-
children: [
|
|
1234
|
-
{
|
|
1235
|
-
name: "small leaf.jpg",
|
|
1236
|
-
type: NodeType.FILE,
|
|
1237
|
-
path: "/root/Parent Leaf/small leaf.json",
|
|
1238
|
-
attributes: { rloc: 30, functions: 100, mcc: 100 },
|
|
1239
|
-
isExcluded: false,
|
|
1240
|
-
isFlattened: false
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
name: "other small leaf.json",
|
|
1244
|
-
type: NodeType.FILE,
|
|
1245
|
-
path: "/root/Parent Leaf/other small leaf.json",
|
|
1246
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10 },
|
|
1247
|
-
isExcluded: false,
|
|
1248
|
-
isFlattened: false
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
name: "another leaf.java",
|
|
1252
|
-
type: NodeType.FILE,
|
|
1253
|
-
path: "/root/Parent Leaf/another leaf.java",
|
|
1254
|
-
attributes: { rloc: 42, functions: 330, mcc: 45 },
|
|
1255
|
-
isExcluded: false,
|
|
1256
|
-
isFlattened: false,
|
|
1257
|
-
children: []
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
name: "leaf without extension",
|
|
1261
|
-
type: NodeType.FILE,
|
|
1262
|
-
path: "/root/Parent Leaf/leaf without extension",
|
|
1263
|
-
attributes: { rloc: 15, functions: 23, mcc: 33 },
|
|
1264
|
-
isExcluded: false,
|
|
1265
|
-
isFlattened: false,
|
|
1266
|
-
children: []
|
|
1267
|
-
}
|
|
1268
|
-
]
|
|
1269
|
-
}
|
|
1270
|
-
]
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
export const VALID_NODE_WITH_PATH_AND_DELTAS: CodeMapNode = {
|
|
1274
|
-
name: "root",
|
|
1275
|
-
attributes: {},
|
|
1276
|
-
deltas: {},
|
|
1277
|
-
fileCount: { added: 0, removed: 0, changed: 0 },
|
|
1278
|
-
type: NodeType.FOLDER,
|
|
1279
|
-
path: "/root",
|
|
1280
|
-
isExcluded: false,
|
|
1281
|
-
isFlattened: false,
|
|
1282
|
-
children: [
|
|
1283
|
-
{
|
|
1284
|
-
name: "big leaf.jpg",
|
|
1285
|
-
type: NodeType.FILE,
|
|
1286
|
-
path: "/root/big leaf.jpg",
|
|
1287
|
-
attributes: { rloc: 100, functions: 10, mcc: 1 },
|
|
1288
|
-
deltas: { rloc: 300, functions: -15, mcc: 12 },
|
|
1289
|
-
fileCount: { added: 0, removed: 1, changed: 0 },
|
|
1290
|
-
isExcluded: false,
|
|
1291
|
-
isFlattened: false
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
name: "another big leaf.java",
|
|
1295
|
-
type: NodeType.FILE,
|
|
1296
|
-
path: "/root/another big leaf.java",
|
|
1297
|
-
attributes: { rloc: 120, functions: 20, mcc: 2 },
|
|
1298
|
-
deltas: { rloc: -150, functions: 9, mcc: 33 },
|
|
1299
|
-
fileCount: { added: 0, removed: 1, changed: 0 },
|
|
1300
|
-
isExcluded: false,
|
|
1301
|
-
isFlattened: false
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
name: "leaf.java with changes",
|
|
1305
|
-
type: NodeType.FILE,
|
|
1306
|
-
path: "/root/leaf.java with changes",
|
|
1307
|
-
attributes: { rloc: 0, functions: 0, mcc: 0 },
|
|
1308
|
-
deltas: { rloc: 0, functions: 0, mcc: 0 },
|
|
1309
|
-
fileCount: { added: 0, removed: 0, changed: 1 },
|
|
1310
|
-
isExcluded: false,
|
|
1311
|
-
isFlattened: false
|
|
1312
|
-
},
|
|
1313
|
-
{
|
|
1314
|
-
name: "Parent Leaf",
|
|
1315
|
-
type: NodeType.FOLDER,
|
|
1316
|
-
attributes: {},
|
|
1317
|
-
deltas: {},
|
|
1318
|
-
fileCount: { added: 0, removed: 0, changed: 0 },
|
|
1319
|
-
path: "/root/Parent Leaf",
|
|
1320
|
-
isExcluded: false,
|
|
1321
|
-
isFlattened: false,
|
|
1322
|
-
children: [
|
|
1323
|
-
{
|
|
1324
|
-
name: "small leaf.jpg",
|
|
1325
|
-
type: NodeType.FILE,
|
|
1326
|
-
path: "/root/Parent Leaf/small leaf.json",
|
|
1327
|
-
attributes: { rloc: 30, functions: 100, mcc: 100 },
|
|
1328
|
-
deltas: { rloc: -55, functions: 38, mcc: -40 },
|
|
1329
|
-
fileCount: { added: 0, removed: 1, changed: 0 },
|
|
1330
|
-
isExcluded: false,
|
|
1331
|
-
isFlattened: false
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
name: "leaf.jpg with changes",
|
|
1335
|
-
type: NodeType.FILE,
|
|
1336
|
-
path: "/root/Parent Leaf/leaf.jpg with changes",
|
|
1337
|
-
attributes: { rloc: 0, functions: 0, mcc: 0 },
|
|
1338
|
-
deltas: { rloc: 0, functions: 0, mcc: 0 },
|
|
1339
|
-
fileCount: { added: 0, removed: 0, changed: 1 },
|
|
1340
|
-
isExcluded: false,
|
|
1341
|
-
isFlattened: false
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
name: "other small leaf.json",
|
|
1345
|
-
type: NodeType.FILE,
|
|
1346
|
-
path: "/root/Parent Leaf/other small leaf.json",
|
|
1347
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10 },
|
|
1348
|
-
deltas: { rloc: 200, functions: -27, mcc: 65 },
|
|
1349
|
-
fileCount: { added: 1, removed: 0, changed: 0 },
|
|
1350
|
-
isExcluded: false,
|
|
1351
|
-
isFlattened: false
|
|
1352
|
-
}
|
|
1353
|
-
]
|
|
1354
|
-
}
|
|
1355
|
-
]
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
export const VALID_NODE_WITHOUT_RLOC_METRIC: CodeMapNode = {
|
|
1359
|
-
name: "root",
|
|
1360
|
-
attributes: {},
|
|
1361
|
-
type: NodeType.FOLDER,
|
|
1362
|
-
path: "/root",
|
|
1363
|
-
isExcluded: false,
|
|
1364
|
-
isFlattened: false,
|
|
1365
|
-
children: [
|
|
1366
|
-
{
|
|
1367
|
-
name: "big leaf.jpg",
|
|
1368
|
-
type: NodeType.FILE,
|
|
1369
|
-
path: "/root/big leaf.jpg",
|
|
1370
|
-
attributes: { rloc: 0, functions: 10, mcc: 1 },
|
|
1371
|
-
isExcluded: false,
|
|
1372
|
-
isFlattened: false
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
name: "another big leaf.java",
|
|
1376
|
-
type: NodeType.FILE,
|
|
1377
|
-
path: "/root/another big leaf.java",
|
|
1378
|
-
attributes: { rloc: 0, functions: 20, mcc: 2 },
|
|
1379
|
-
isExcluded: false,
|
|
1380
|
-
isFlattened: false
|
|
1381
|
-
}
|
|
1382
|
-
]
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
export const TEST_DELTA_MAP_A: CCFile = {
|
|
1386
|
-
fileMeta: {
|
|
1387
|
-
...DEFAULT_FILE_META,
|
|
1388
|
-
fileName: "fileA",
|
|
1389
|
-
fileChecksum: "md5-delta-fileA"
|
|
1390
|
-
},
|
|
1391
|
-
map: {
|
|
1392
|
-
...DEFAULT_FILE_MAP,
|
|
1393
|
-
children: [
|
|
1394
|
-
{
|
|
1395
|
-
name: "big leaf",
|
|
1396
|
-
type: NodeType.FILE,
|
|
1397
|
-
attributes: { rloc: 100, functions: 10, mcc: 1 },
|
|
1398
|
-
link: "https://www.google.de",
|
|
1399
|
-
isExcluded: false,
|
|
1400
|
-
isFlattened: false
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
name: "Parent Leaf",
|
|
1404
|
-
type: NodeType.FOLDER,
|
|
1405
|
-
attributes: {},
|
|
1406
|
-
isExcluded: false,
|
|
1407
|
-
isFlattened: false,
|
|
1408
|
-
children: [
|
|
1409
|
-
{
|
|
1410
|
-
name: "small leaf",
|
|
1411
|
-
type: NodeType.FILE,
|
|
1412
|
-
attributes: { rloc: 30, functions: 100, mcc: 100 },
|
|
1413
|
-
isExcluded: false,
|
|
1414
|
-
isFlattened: false
|
|
1415
|
-
},
|
|
1416
|
-
{
|
|
1417
|
-
name: "other small leaf",
|
|
1418
|
-
type: NodeType.FILE,
|
|
1419
|
-
attributes: { rloc: 70, functions: 1000, mcc: 10 },
|
|
1420
|
-
isExcluded: false,
|
|
1421
|
-
isFlattened: false
|
|
1422
|
-
}
|
|
1423
|
-
]
|
|
1424
|
-
}
|
|
1425
|
-
]
|
|
1426
|
-
},
|
|
1427
|
-
settings: DEFAULT_SETTINGS
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
export const TEST_DELTA_MAP_B: CCFile = {
|
|
1431
|
-
fileMeta: {
|
|
1432
|
-
...DEFAULT_FILE_META,
|
|
1433
|
-
fileName: "fileB",
|
|
1434
|
-
fileChecksum: "md5-delta-fileB"
|
|
1435
|
-
},
|
|
1436
|
-
map: {
|
|
1437
|
-
...DEFAULT_FILE_MAP,
|
|
1438
|
-
children: [
|
|
1439
|
-
{
|
|
1440
|
-
name: "big leaf",
|
|
1441
|
-
type: NodeType.FILE,
|
|
1442
|
-
attributes: { rloc: 20, functions: 10, mcc: 1 },
|
|
1443
|
-
link: "https://www.google.de",
|
|
1444
|
-
isExcluded: false,
|
|
1445
|
-
isFlattened: false
|
|
1446
|
-
},
|
|
1447
|
-
{
|
|
1448
|
-
name: "additional leaf",
|
|
1449
|
-
type: NodeType.FILE,
|
|
1450
|
-
attributes: { rloc: 10, functions: 11, mcc: 5 },
|
|
1451
|
-
link: "https://www.google.de",
|
|
1452
|
-
isExcluded: false,
|
|
1453
|
-
isFlattened: false
|
|
1454
|
-
},
|
|
1455
|
-
{
|
|
1456
|
-
name: "Parent Leaf",
|
|
1457
|
-
type: NodeType.FOLDER,
|
|
1458
|
-
attributes: {},
|
|
1459
|
-
isExcluded: false,
|
|
1460
|
-
isFlattened: false,
|
|
1461
|
-
children: [
|
|
1462
|
-
{
|
|
1463
|
-
name: "small leaf",
|
|
1464
|
-
type: NodeType.FILE,
|
|
1465
|
-
attributes: { rloc: 30, functions: 100, mcc: 100, more: 20 },
|
|
1466
|
-
isExcluded: false,
|
|
1467
|
-
isFlattened: false
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
name: "other small leaf",
|
|
1471
|
-
type: NodeType.FILE,
|
|
1472
|
-
attributes: { rloc: 70, functions: 1000 },
|
|
1473
|
-
isExcluded: false,
|
|
1474
|
-
isFlattened: false
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
name: "big leaf",
|
|
1478
|
-
type: NodeType.FILE,
|
|
1479
|
-
attributes: { rloc: 20, functions: 10, mcc: 1 },
|
|
1480
|
-
link: "https://www.google.de",
|
|
1481
|
-
isExcluded: false,
|
|
1482
|
-
isFlattened: false
|
|
1483
|
-
}
|
|
1484
|
-
]
|
|
1485
|
-
}
|
|
1486
|
-
]
|
|
1487
|
-
},
|
|
1488
|
-
settings: DEFAULT_SETTINGS
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
export const TEST_FILE_DATA_DOWNLOADED = {
|
|
1492
|
-
projectName: "Sample Project",
|
|
1493
|
-
apiVersion: packageJson.codecharta.apiVersion,
|
|
1494
|
-
fileChecksum: "md5-fileA",
|
|
1495
|
-
nodes: [
|
|
1496
|
-
{
|
|
1497
|
-
name: "root",
|
|
1498
|
-
type: NodeType.FOLDER,
|
|
1499
|
-
attributes: {},
|
|
1500
|
-
children: [
|
|
1501
|
-
{
|
|
1502
|
-
name: "big leaf",
|
|
1503
|
-
type: NodeType.FILE,
|
|
1504
|
-
attributes: {
|
|
1505
|
-
rloc: 100,
|
|
1506
|
-
functions: 10,
|
|
1507
|
-
mcc: 1
|
|
1508
|
-
},
|
|
1509
|
-
link: "https://www.google.de"
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
name: "Parent Leaf",
|
|
1513
|
-
type: NodeType.FOLDER,
|
|
1514
|
-
attributes: {},
|
|
1515
|
-
children: [
|
|
1516
|
-
{
|
|
1517
|
-
name: "small leaf",
|
|
1518
|
-
type: NodeType.FILE,
|
|
1519
|
-
attributes: {
|
|
1520
|
-
rloc: 30,
|
|
1521
|
-
functions: 100,
|
|
1522
|
-
mcc: 100
|
|
1523
|
-
}
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
name: "other small leaf",
|
|
1527
|
-
type: NodeType.FILE,
|
|
1528
|
-
attributes: {
|
|
1529
|
-
rloc: 70,
|
|
1530
|
-
functions: 1000,
|
|
1531
|
-
mcc: 10
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
]
|
|
1535
|
-
}
|
|
1536
|
-
]
|
|
1537
|
-
}
|
|
1538
|
-
],
|
|
1539
|
-
attributeTypes: {},
|
|
1540
|
-
attributeDescriptors: {},
|
|
1541
|
-
edges: [
|
|
1542
|
-
{
|
|
1543
|
-
fromNodeName: "/root/big leaf",
|
|
1544
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
1545
|
-
attributes: {
|
|
1546
|
-
pairingRate: 89,
|
|
1547
|
-
avgCommits: 34
|
|
1548
|
-
}
|
|
1549
|
-
},
|
|
1550
|
-
{
|
|
1551
|
-
fromNodeName: "/root/Parent Leaf/small leaf",
|
|
1552
|
-
toNodeName: "/root/different leaf",
|
|
1553
|
-
attributes: {
|
|
1554
|
-
pairingRate: 89,
|
|
1555
|
-
avgCommits: 34
|
|
1556
|
-
}
|
|
1557
|
-
},
|
|
1558
|
-
{
|
|
1559
|
-
fromNodeName: "/root/Parent Leaf/other small leaf",
|
|
1560
|
-
toNodeName: "/root/Parent Leaf/small leaf",
|
|
1561
|
-
attributes: {
|
|
1562
|
-
pairingRate: 89,
|
|
1563
|
-
otherMetric: 34
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
],
|
|
1567
|
-
markedPackages: [],
|
|
1568
|
-
blacklist: [
|
|
1569
|
-
{ path: "/root/bigLeaf.ts", type: "hide" },
|
|
1570
|
-
{ path: "/root/sample1OnlyLeaf.scss", type: "exclude" }
|
|
1571
|
-
]
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
export const FILE_STATES: FileState[] = [
|
|
1575
|
-
{
|
|
1576
|
-
file: TEST_FILE_DATA,
|
|
1577
|
-
selectedAs: FileSelectionState.Partial
|
|
1578
|
-
}
|
|
1579
|
-
]
|
|
1580
|
-
|
|
1581
|
-
export const FILE_STATES_UNSELECTED: FileState[] = [
|
|
1582
|
-
{
|
|
1583
|
-
file: TEST_FILE_DATA,
|
|
1584
|
-
selectedAs: FileSelectionState.None
|
|
1585
|
-
}
|
|
1586
|
-
]
|
|
1587
|
-
|
|
1588
|
-
export const FILE_STATES_JAVA: FileState[] = [
|
|
1589
|
-
{
|
|
1590
|
-
file: TEST_FILE_DATA_JAVA,
|
|
1591
|
-
selectedAs: FileSelectionState.Partial
|
|
1592
|
-
}
|
|
1593
|
-
]
|
|
1594
|
-
|
|
1595
|
-
export const METRIC_DATA: NodeMetricData[] = [
|
|
1596
|
-
{ name: "mcc", maxValue: 1, minValue: 1 },
|
|
1597
|
-
{ name: "rloc", maxValue: 2, minValue: 1 },
|
|
1598
|
-
{ name: UNARY_METRIC, maxValue: 1, minValue: 1 }
|
|
1599
|
-
]
|
|
1600
|
-
|
|
1601
|
-
export const EDGE_METRIC_DATA: EdgeMetricData[] = [
|
|
1602
|
-
{ name: "pairing_rate", maxValue: 10, minValue: 0 },
|
|
1603
|
-
{ name: "average_commits", maxValue: 20, minValue: 0 }
|
|
1604
|
-
]
|
|
1605
|
-
|
|
1606
|
-
export const STATE: CcState = {
|
|
1607
|
-
fileSettings: {
|
|
1608
|
-
attributeTypes: {
|
|
1609
|
-
nodes: {
|
|
1610
|
-
rloc: AttributeTypeValue.absolute,
|
|
1611
|
-
mcc: AttributeTypeValue.absolute,
|
|
1612
|
-
coverage: AttributeTypeValue.relative,
|
|
1613
|
-
pairing_rate: AttributeTypeValue.absolute
|
|
1614
|
-
},
|
|
1615
|
-
edges: {}
|
|
1616
|
-
},
|
|
1617
|
-
attributeDescriptors: {},
|
|
1618
|
-
blacklist: [],
|
|
1619
|
-
edges: VALID_EDGES,
|
|
1620
|
-
markedPackages: []
|
|
1621
|
-
},
|
|
1622
|
-
dynamicSettings: {
|
|
1623
|
-
areaMetric: "rloc",
|
|
1624
|
-
heightMetric: "mcc",
|
|
1625
|
-
colorMetric: "mcc",
|
|
1626
|
-
distributionMetric: "mcc",
|
|
1627
|
-
edgeMetric: "pairingRate",
|
|
1628
|
-
focusedNodePath: ["/root/ParentLeaf"],
|
|
1629
|
-
searchPattern: "",
|
|
1630
|
-
margin: 48,
|
|
1631
|
-
colorRange: {
|
|
1632
|
-
from: 19,
|
|
1633
|
-
to: 67
|
|
1634
|
-
},
|
|
1635
|
-
colorMode: ColorMode.weightedGradient,
|
|
1636
|
-
sortingOption: SortingOption.NAME
|
|
1637
|
-
},
|
|
1638
|
-
appSettings: {
|
|
1639
|
-
amountOfTopLabels: 31,
|
|
1640
|
-
amountOfEdgePreviews: 5,
|
|
1641
|
-
colorLabels: {
|
|
1642
|
-
positive: false,
|
|
1643
|
-
negative: false,
|
|
1644
|
-
neutral: false
|
|
1645
|
-
},
|
|
1646
|
-
edgeHeight: 4,
|
|
1647
|
-
scaling: new Vector3(1, 1.8, 1),
|
|
1648
|
-
hideFlatBuildings: true,
|
|
1649
|
-
invertHeight: true,
|
|
1650
|
-
invertArea: false,
|
|
1651
|
-
isEdgeMetricVisible: true,
|
|
1652
|
-
isWhiteBackground: false,
|
|
1653
|
-
isColorMetricLinkedToHeightMetric: false,
|
|
1654
|
-
enableFloorLabels: true,
|
|
1655
|
-
mapColors: {
|
|
1656
|
-
positive: "#69AE40",
|
|
1657
|
-
neutral: "#ddcc00",
|
|
1658
|
-
negative: "#820E0E",
|
|
1659
|
-
selected: "#EB8319",
|
|
1660
|
-
positiveDelta: "#64d051",
|
|
1661
|
-
negativeDelta: "#ff0E0E",
|
|
1662
|
-
base: "#666666",
|
|
1663
|
-
flat: "#AAAAAA",
|
|
1664
|
-
markingColors: ["#FF1D8E", "#1d8eff", "#1DFFFF", "#8eff1d", "#8e1dff"],
|
|
1665
|
-
incomingEdge: "#00ffff",
|
|
1666
|
-
outgoingEdge: "#ff00ff",
|
|
1667
|
-
labelColorAndAlpha: { rgb: "#e0e0e0", alpha: 0.7 }
|
|
1668
|
-
},
|
|
1669
|
-
isPresentationMode: false,
|
|
1670
|
-
showOnlyBuildingsWithEdges: false,
|
|
1671
|
-
resetCameraIfNewFileIsLoaded: true,
|
|
1672
|
-
isLoadingMap: true,
|
|
1673
|
-
isLoadingFile: true,
|
|
1674
|
-
sortingOrderAscending: false,
|
|
1675
|
-
showMetricLabelNameValue: true,
|
|
1676
|
-
showMetricLabelNodeName: true,
|
|
1677
|
-
experimentalFeaturesEnabled: false,
|
|
1678
|
-
screenshotToClipboardEnabled: false,
|
|
1679
|
-
layoutAlgorithm: LayoutAlgorithm.SquarifiedTreeMap,
|
|
1680
|
-
sharpnessMode: SharpnessMode.Standard,
|
|
1681
|
-
maxTreeMapFiles: 200
|
|
1682
|
-
},
|
|
1683
|
-
files: [],
|
|
1684
|
-
appStatus: {
|
|
1685
|
-
hoveredNodeId: null,
|
|
1686
|
-
selectedBuildingId: null,
|
|
1687
|
-
rightClickedNodeData: null
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
export const DEFAULT_STATE: CcState = {
|
|
1692
|
-
appSettings: {
|
|
1693
|
-
amountOfTopLabels: 1,
|
|
1694
|
-
amountOfEdgePreviews: 1,
|
|
1695
|
-
colorLabels: {
|
|
1696
|
-
positive: false,
|
|
1697
|
-
negative: false,
|
|
1698
|
-
neutral: false
|
|
1699
|
-
},
|
|
1700
|
-
edgeHeight: 4,
|
|
1701
|
-
hideFlatBuildings: false,
|
|
1702
|
-
invertHeight: false,
|
|
1703
|
-
invertArea: false,
|
|
1704
|
-
isEdgeMetricVisible: true,
|
|
1705
|
-
isWhiteBackground: false,
|
|
1706
|
-
isColorMetricLinkedToHeightMetric: false,
|
|
1707
|
-
enableFloorLabels: true,
|
|
1708
|
-
mapColors: {
|
|
1709
|
-
base: "#666666",
|
|
1710
|
-
flat: "#AAAAAA",
|
|
1711
|
-
markingColors: ["#FF1D8E", "#1d8eff", "#1DFFFF", "#8eff1d", "#8e1dff"],
|
|
1712
|
-
negative: "#820E0E",
|
|
1713
|
-
negativeDelta: "#ff0E0E",
|
|
1714
|
-
neutral: "#ddcc00",
|
|
1715
|
-
positive: "#69AE40",
|
|
1716
|
-
positiveDelta: "#64d051",
|
|
1717
|
-
selected: "#EB8319",
|
|
1718
|
-
incomingEdge: "#00ffff",
|
|
1719
|
-
outgoingEdge: "#ff00ff",
|
|
1720
|
-
labelColorAndAlpha: { rgb: "#e0e0e0", alpha: 0.7 }
|
|
1721
|
-
},
|
|
1722
|
-
scaling: new Vector3(1, 1, 1),
|
|
1723
|
-
isPresentationMode: false,
|
|
1724
|
-
showOnlyBuildingsWithEdges: false,
|
|
1725
|
-
resetCameraIfNewFileIsLoaded: true,
|
|
1726
|
-
isLoadingMap: true,
|
|
1727
|
-
isLoadingFile: true,
|
|
1728
|
-
sortingOrderAscending: true,
|
|
1729
|
-
showMetricLabelNameValue: false,
|
|
1730
|
-
showMetricLabelNodeName: true,
|
|
1731
|
-
experimentalFeaturesEnabled: false,
|
|
1732
|
-
screenshotToClipboardEnabled: false,
|
|
1733
|
-
layoutAlgorithm: LayoutAlgorithm.SquarifiedTreeMap,
|
|
1734
|
-
sharpnessMode: SharpnessMode.Standard,
|
|
1735
|
-
maxTreeMapFiles: 100
|
|
1736
|
-
},
|
|
1737
|
-
dynamicSettings: {
|
|
1738
|
-
areaMetric: null,
|
|
1739
|
-
colorMetric: null,
|
|
1740
|
-
focusedNodePath: [],
|
|
1741
|
-
heightMetric: null,
|
|
1742
|
-
distributionMetric: null,
|
|
1743
|
-
edgeMetric: null,
|
|
1744
|
-
margin: 50,
|
|
1745
|
-
colorRange: {
|
|
1746
|
-
from: null,
|
|
1747
|
-
to: null
|
|
1748
|
-
},
|
|
1749
|
-
colorMode: ColorMode.weightedGradient,
|
|
1750
|
-
searchPattern: "",
|
|
1751
|
-
sortingOption: SortingOption.NAME
|
|
1752
|
-
},
|
|
1753
|
-
fileSettings: {
|
|
1754
|
-
attributeTypes: { nodes: {}, edges: {} },
|
|
1755
|
-
attributeDescriptors: {},
|
|
1756
|
-
blacklist: [],
|
|
1757
|
-
edges: [],
|
|
1758
|
-
markedPackages: []
|
|
1759
|
-
},
|
|
1760
|
-
files: [],
|
|
1761
|
-
appStatus: {
|
|
1762
|
-
hoveredNodeId: null,
|
|
1763
|
-
selectedBuildingId: null,
|
|
1764
|
-
rightClickedNodeData: null
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
export const SCENARIO: RecursivePartial<Scenario> = {
|
|
1769
|
-
name: "Scenario1",
|
|
1770
|
-
area: {
|
|
1771
|
-
areaMetric: "rloc",
|
|
1772
|
-
margin: 48
|
|
1773
|
-
},
|
|
1774
|
-
height: {
|
|
1775
|
-
heightMetric: "mcc",
|
|
1776
|
-
heightSlider: new Vector3(1, 1.8, 1),
|
|
1777
|
-
labelSlider: 31
|
|
1778
|
-
},
|
|
1779
|
-
color: {
|
|
1780
|
-
colorMetric: "mcc",
|
|
1781
|
-
colorRange: {
|
|
1782
|
-
from: 19,
|
|
1783
|
-
to: 67
|
|
1784
|
-
},
|
|
1785
|
-
mapColors: DEFAULT_STATE.appSettings.mapColors
|
|
1786
|
-
},
|
|
1787
|
-
edge: {
|
|
1788
|
-
edgeMetric: "pairingRate",
|
|
1789
|
-
edgePreview: 5,
|
|
1790
|
-
edgeHeight: 4
|
|
1791
|
-
},
|
|
1792
|
-
camera: {
|
|
1793
|
-
camera: new Vector3(0, 300, 1000),
|
|
1794
|
-
cameraTarget: new Vector3(1, 1, 1)
|
|
1795
|
-
}
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
export const PARTIAL_SETTINGS: RecursivePartial<Settings> = {
|
|
1799
|
-
dynamicSettings: {
|
|
1800
|
-
areaMetric: "rloc",
|
|
1801
|
-
heightMetric: "mcc",
|
|
1802
|
-
colorMetric: "mcc",
|
|
1803
|
-
edgeMetric: "pairingRate",
|
|
1804
|
-
margin: 48,
|
|
1805
|
-
colorRange: {
|
|
1806
|
-
from: 19,
|
|
1807
|
-
to: 67
|
|
1808
|
-
}
|
|
1809
|
-
},
|
|
1810
|
-
appSettings: {
|
|
1811
|
-
amountOfTopLabels: 31,
|
|
1812
|
-
amountOfEdgePreviews: 5,
|
|
1813
|
-
edgeHeight: 4,
|
|
1814
|
-
scaling: new Vector3(1, 1.8, 1),
|
|
1815
|
-
mapColors: DEFAULT_STATE.appSettings.mapColors
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
export const TEST_NODE_ROOT: Node = {
|
|
1820
|
-
name: "root",
|
|
1821
|
-
id: 0,
|
|
1822
|
-
width: 1,
|
|
1823
|
-
height: 2,
|
|
1824
|
-
length: 3,
|
|
1825
|
-
depth: 4,
|
|
1826
|
-
mapNodeDepth: 2,
|
|
1827
|
-
x0: 5,
|
|
1828
|
-
z0: 6,
|
|
1829
|
-
y0: 7,
|
|
1830
|
-
isLeaf: true,
|
|
1831
|
-
deltas: { a: 1, b: 2 },
|
|
1832
|
-
attributes: { a: 20, b: 15, mcc: 5 },
|
|
1833
|
-
edgeAttributes: { a: { incoming: 2, outgoing: 666 } },
|
|
1834
|
-
heightDelta: 10,
|
|
1835
|
-
visible: true,
|
|
1836
|
-
path: "/root",
|
|
1837
|
-
link: "NO_LINK",
|
|
1838
|
-
markingColor: "0x000000",
|
|
1839
|
-
flat: false,
|
|
1840
|
-
color: "#69AE40",
|
|
1841
|
-
incomingEdgePoint: new Vector3(),
|
|
1842
|
-
outgoingEdgePoint: new Vector3()
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
export const SCENARIO_ATTRIBUTE_CONTENT: ScenarioMetricProperty[] = [
|
|
1846
|
-
{
|
|
1847
|
-
metricType: "Camera-Position",
|
|
1848
|
-
metricName: "",
|
|
1849
|
-
savedValues: { camera: new Vector3(0, 300, 1000), cameraTarget: new Vector3(177, 0, 299) },
|
|
1850
|
-
isSelected: true,
|
|
1851
|
-
isDisabled: false
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
metricType: "Area-Metric",
|
|
1855
|
-
metricName: "rloc",
|
|
1856
|
-
savedValues: 48,
|
|
1857
|
-
isSelected: true,
|
|
1858
|
-
isDisabled: false
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
metricType: "Height-Metric",
|
|
1862
|
-
metricName: "mcc",
|
|
1863
|
-
savedValues: { heightSlider: new Vector3(1, 1.8, 1), labelSlider: 31 },
|
|
1864
|
-
isSelected: true,
|
|
1865
|
-
isDisabled: false
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
metricType: "Color-Metric",
|
|
1869
|
-
metricName: "mcc",
|
|
1870
|
-
savedValues: { colorRange: { from: 19, to: 67 }, mapColors: DEFAULT_STATE.appSettings.mapColors },
|
|
1871
|
-
isSelected: true,
|
|
1872
|
-
isDisabled: false
|
|
1873
|
-
},
|
|
1874
|
-
{
|
|
1875
|
-
metricType: "Edge-Metric",
|
|
1876
|
-
metricName: "pairingRate",
|
|
1877
|
-
savedValues: { edgePreview: 5, edgeHeight: 4 },
|
|
1878
|
-
isSelected: true,
|
|
1879
|
-
isDisabled: false
|
|
1880
|
-
}
|
|
1881
|
-
]
|
|
1882
|
-
|
|
1883
|
-
export const SCENARIO_ATTRIBUTE_CONTENT_CAMERA_UNSELECTED: ScenarioMetricProperty[] = [
|
|
1884
|
-
{
|
|
1885
|
-
metricType: "Camera-Position",
|
|
1886
|
-
metricName: null,
|
|
1887
|
-
savedValues: new Vector3(0, 300, 1000),
|
|
1888
|
-
isSelected: false,
|
|
1889
|
-
isDisabled: false
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
metricType: "Area-Metric",
|
|
1893
|
-
metricName: "rloc",
|
|
1894
|
-
savedValues: 48,
|
|
1895
|
-
isSelected: true,
|
|
1896
|
-
isDisabled: false
|
|
1897
|
-
},
|
|
1898
|
-
{
|
|
1899
|
-
metricType: "Height-Metric",
|
|
1900
|
-
metricName: "mcc",
|
|
1901
|
-
savedValues: { heightSlider: new Vector3(1, 1.8, 1), labelSlider: 31 },
|
|
1902
|
-
isSelected: true,
|
|
1903
|
-
isDisabled: false
|
|
1904
|
-
},
|
|
1905
|
-
{
|
|
1906
|
-
metricType: "Color-Metric",
|
|
1907
|
-
metricName: "mcc",
|
|
1908
|
-
savedValues: { from: 19, to: 67 },
|
|
1909
|
-
isSelected: true,
|
|
1910
|
-
isDisabled: false
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
metricType: "Edge-Metric",
|
|
1914
|
-
metricName: "pairingRate",
|
|
1915
|
-
savedValues: { edgePreview: 5, edgeHeight: 4 },
|
|
1916
|
-
isSelected: true,
|
|
1917
|
-
isDisabled: false
|
|
1918
|
-
}
|
|
1919
|
-
]
|
|
1920
|
-
|
|
1921
|
-
export const SCENARIO_ATTRIBUTE_CONTENT_WITHOUT_CAMERA: ScenarioMetricProperty[] = [
|
|
1922
|
-
{
|
|
1923
|
-
metricType: "Area-Metric",
|
|
1924
|
-
metricName: "rloc",
|
|
1925
|
-
savedValues: 48,
|
|
1926
|
-
isSelected: true,
|
|
1927
|
-
isDisabled: false
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
metricType: "Height-Metric",
|
|
1931
|
-
metricName: "mcc",
|
|
1932
|
-
savedValues: { heightSlider: new Vector3(1, 1.8, 1), labelSlider: 31 },
|
|
1933
|
-
isSelected: true,
|
|
1934
|
-
isDisabled: false
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
metricType: "Color-Metric",
|
|
1938
|
-
metricName: "mcc",
|
|
1939
|
-
savedValues: { from: 19, to: 67 },
|
|
1940
|
-
isSelected: true,
|
|
1941
|
-
isDisabled: false
|
|
1942
|
-
},
|
|
1943
|
-
{
|
|
1944
|
-
metricType: "Edge-Metric",
|
|
1945
|
-
metricName: "pairingRate",
|
|
1946
|
-
savedValues: { edgePreview: 5, edgeHeight: 4 },
|
|
1947
|
-
isSelected: true,
|
|
1948
|
-
isDisabled: false
|
|
1949
|
-
}
|
|
1950
|
-
]
|
|
1951
|
-
|
|
1952
|
-
export const SCENARIO_ITEMS: ScenarioItem[] = [
|
|
1953
|
-
{
|
|
1954
|
-
scenarioName: "Scenario",
|
|
1955
|
-
isScenarioApplicable: true,
|
|
1956
|
-
icons: [{ faIconClass: "fa fa-random", isSaved: false, tooltip: "random" }]
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
scenarioName: "Scenario2",
|
|
1960
|
-
isScenarioApplicable: false,
|
|
1961
|
-
icons: [{ faIconClass: "fa fa-some", isSaved: true, tooltip: "some" }]
|
|
1962
|
-
}
|
|
1963
|
-
]
|
|
1964
|
-
|
|
1965
|
-
export const CUSTOM_CONFIG_ITEM_GROUPS: Map<string, CustomConfigItemGroup> = new Map([
|
|
1966
|
-
[
|
|
1967
|
-
"File_A_STANDARD",
|
|
1968
|
-
{
|
|
1969
|
-
mapNames: "fileA",
|
|
1970
|
-
mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
|
|
1971
|
-
hasApplicableItems: false,
|
|
1972
|
-
customConfigItems: [
|
|
1973
|
-
{
|
|
1974
|
-
id: "File_A_STANDARD_Sample_Map View #1",
|
|
1975
|
-
name: "SampleMap View #1",
|
|
1976
|
-
assignedMaps: new Map([["md5_fileA", "fileA"]]),
|
|
1977
|
-
mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
|
|
1978
|
-
mapColors: {
|
|
1979
|
-
positive: "#69AE40",
|
|
1980
|
-
neutral: "#ddcc00",
|
|
1981
|
-
negative: "#820E0E",
|
|
1982
|
-
selected: "#EB8319",
|
|
1983
|
-
positiveDelta: "#64d051",
|
|
1984
|
-
negativeDelta: "#ff0E0E"
|
|
1985
|
-
},
|
|
1986
|
-
metrics: { areaMetric: "rloc", heightMetric: "mcc", colorMetric: "mcc", edgeMetric: "avgCommits" },
|
|
1987
|
-
isApplicable: false
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
id: "File_A_STANDARD_Sample_Map View #2",
|
|
1991
|
-
name: "SampleMap View #2",
|
|
1992
|
-
assignedMaps: new Map([["md5_fileA", "fileA"]]),
|
|
1993
|
-
mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
|
|
1994
|
-
mapColors: {
|
|
1995
|
-
positive: "#69AE40",
|
|
1996
|
-
neutral: "#ddcc00",
|
|
1997
|
-
negative: "#820E0E",
|
|
1998
|
-
selected: "#EB8319",
|
|
1999
|
-
positiveDelta: "#64d051",
|
|
2000
|
-
negativeDelta: "#ff0E0E"
|
|
2001
|
-
},
|
|
2002
|
-
metrics: { areaMetric: "rloc", heightMetric: "mcc", colorMetric: "mcc", edgeMetric: "avgCommits" },
|
|
2003
|
-
isApplicable: false
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
}
|
|
2007
|
-
],
|
|
2008
|
-
[
|
|
2009
|
-
"File_B_File_C_STANDARD",
|
|
2010
|
-
{
|
|
2011
|
-
mapNames: "fileB fileC",
|
|
2012
|
-
mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
|
|
2013
|
-
hasApplicableItems: true,
|
|
2014
|
-
customConfigItems: [
|
|
2015
|
-
{
|
|
2016
|
-
id: "File_B_File_C_STANDARD_Sample_Map View #1",
|
|
2017
|
-
name: "SampleMap View #1",
|
|
2018
|
-
assignedMaps: new Map([
|
|
2019
|
-
["md5_fileB", "fileB"],
|
|
2020
|
-
["md5_fileC", "fileC"]
|
|
2021
|
-
]),
|
|
2022
|
-
mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
|
|
2023
|
-
mapColors: {
|
|
2024
|
-
positive: "#69AE40",
|
|
2025
|
-
neutral: "#ddcc00",
|
|
2026
|
-
negative: "#820E0E",
|
|
2027
|
-
selected: "#EB8319",
|
|
2028
|
-
positiveDelta: "#64d051",
|
|
2029
|
-
negativeDelta: "#ff0E0E"
|
|
2030
|
-
},
|
|
2031
|
-
metrics: { areaMetric: "rloc", heightMetric: "mcc", colorMetric: "functions", edgeMetric: "avgCommits" },
|
|
2032
|
-
isApplicable: true,
|
|
2033
|
-
note: "a note"
|
|
2034
|
-
},
|
|
2035
|
-
{
|
|
2036
|
-
id: "File_B_File_C_STANDARD_Sample_Map View #2",
|
|
2037
|
-
name: "SampleMap View #2",
|
|
2038
|
-
assignedMaps: new Map([
|
|
2039
|
-
["md5_fileB", "fileB"],
|
|
2040
|
-
["md5_fileC", "fileC"]
|
|
2041
|
-
]),
|
|
2042
|
-
mapSelectionMode: CustomConfigMapSelectionMode.MULTIPLE,
|
|
2043
|
-
mapColors: {
|
|
2044
|
-
positive: "#69AE40",
|
|
2045
|
-
neutral: "#ddcc00",
|
|
2046
|
-
negative: "#820E0E",
|
|
2047
|
-
selected: "#EB8319",
|
|
2048
|
-
positiveDelta: "#64d051",
|
|
2049
|
-
negativeDelta: "#ff0E0E"
|
|
2050
|
-
},
|
|
2051
|
-
metrics: { areaMetric: "rloc", heightMetric: "mcc", colorMetric: "mcc", edgeMetric: "avgCommits" },
|
|
2052
|
-
isApplicable: true
|
|
2053
|
-
}
|
|
2054
|
-
]
|
|
2055
|
-
}
|
|
2056
|
-
],
|
|
2057
|
-
[
|
|
2058
|
-
"File_D_DELTA",
|
|
2059
|
-
{
|
|
2060
|
-
mapNames: "fileD",
|
|
2061
|
-
mapSelectionMode: CustomConfigMapSelectionMode.DELTA,
|
|
2062
|
-
hasApplicableItems: false,
|
|
2063
|
-
customConfigItems: [
|
|
2064
|
-
{
|
|
2065
|
-
id: "File_D_DELTA_Sample_Map View #1",
|
|
2066
|
-
name: "SampleMap Delta View #1",
|
|
2067
|
-
assignedMaps: new Map([["md5_fileD", "fileD"]]),
|
|
2068
|
-
mapSelectionMode: CustomConfigMapSelectionMode.DELTA,
|
|
2069
|
-
mapColors: {
|
|
2070
|
-
positive: "#69AE40",
|
|
2071
|
-
neutral: "#ddcc00",
|
|
2072
|
-
negative: "#820E0E",
|
|
2073
|
-
selected: "#EB8319",
|
|
2074
|
-
positiveDelta: "#64d051",
|
|
2075
|
-
negativeDelta: "#ff0E0E"
|
|
2076
|
-
},
|
|
2077
|
-
metrics: { areaMetric: "rloc", heightMetric: "mcc", colorMetric: "mcc", edgeMetric: null },
|
|
2078
|
-
isApplicable: false
|
|
2079
|
-
}
|
|
2080
|
-
]
|
|
2081
|
-
}
|
|
2082
|
-
]
|
|
2083
|
-
])
|
|
2084
|
-
|
|
2085
|
-
export const SCENARIO_ITEM_WITH_EVERYTHING_SAVED: ScenarioItem[] = [
|
|
2086
|
-
{
|
|
2087
|
-
scenarioName: "Scenario1",
|
|
2088
|
-
isScenarioApplicable: false,
|
|
2089
|
-
icons: [
|
|
2090
|
-
{
|
|
2091
|
-
faIconClass: "fa-video-camera",
|
|
2092
|
-
isSaved: true,
|
|
2093
|
-
tooltip: "Camera angle"
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
faIconClass: "fa-arrows-alt",
|
|
2097
|
-
isSaved: true,
|
|
2098
|
-
tooltip: "Area metric"
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
faIconClass: "fa-arrows-v",
|
|
2102
|
-
isSaved: true,
|
|
2103
|
-
tooltip: "Height metric"
|
|
2104
|
-
},
|
|
2105
|
-
{
|
|
2106
|
-
faIconClass: "fa-paint-brush",
|
|
2107
|
-
isSaved: true,
|
|
2108
|
-
tooltip: "Color metric"
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
faIconClass: "fa-exchange",
|
|
2112
|
-
isSaved: true,
|
|
2113
|
-
tooltip: "Edge metric"
|
|
2114
|
-
}
|
|
2115
|
-
]
|
|
2116
|
-
}
|
|
2117
|
-
]
|
|
2118
|
-
|
|
2119
|
-
export const TEST_NODE_LEAF: Node = {
|
|
2120
|
-
name: "root/big leaf.ts",
|
|
2121
|
-
id: 1,
|
|
2122
|
-
width: 1,
|
|
2123
|
-
height: 2,
|
|
2124
|
-
length: 3,
|
|
2125
|
-
depth: 4,
|
|
2126
|
-
mapNodeDepth: 2,
|
|
2127
|
-
x0: 5,
|
|
2128
|
-
z0: 6,
|
|
2129
|
-
y0: 7,
|
|
2130
|
-
isLeaf: true,
|
|
2131
|
-
deltas: { a: 1, b: 2 },
|
|
2132
|
-
attributes: { a: 20, b: 15, mcc: 20 },
|
|
2133
|
-
edgeAttributes: { a: { incoming: 2, outgoing: 666 } },
|
|
2134
|
-
heightDelta: 20,
|
|
2135
|
-
visible: true,
|
|
2136
|
-
path: "/root/big leaf",
|
|
2137
|
-
link: "NO_LINK",
|
|
2138
|
-
markingColor: "0xFFFFFF",
|
|
2139
|
-
flat: false,
|
|
2140
|
-
color: "#ddcc00",
|
|
2141
|
-
incomingEdgePoint: new Vector3(),
|
|
2142
|
-
outgoingEdgePoint: new Vector3()
|
|
2143
|
-
}
|
|
2144
|
-
|
|
2145
|
-
export const TEST_NODE_FOLDER: Node = {
|
|
2146
|
-
name: "root",
|
|
2147
|
-
id: 1,
|
|
2148
|
-
width: 1,
|
|
2149
|
-
height: 2,
|
|
2150
|
-
length: 3,
|
|
2151
|
-
depth: 4,
|
|
2152
|
-
mapNodeDepth: 1,
|
|
2153
|
-
x0: 5,
|
|
2154
|
-
z0: 6,
|
|
2155
|
-
y0: 7,
|
|
2156
|
-
isLeaf: false,
|
|
2157
|
-
attributes: { a: 20, b: 15 },
|
|
2158
|
-
edgeAttributes: { c: { incoming: 2, outgoing: 666 } },
|
|
2159
|
-
heightDelta: 20,
|
|
2160
|
-
visible: true,
|
|
2161
|
-
path: "/root",
|
|
2162
|
-
flat: false,
|
|
2163
|
-
link: "NO_LINK",
|
|
2164
|
-
color: "#ddcc00",
|
|
2165
|
-
markingColor: "0xFFFFFF",
|
|
2166
|
-
incomingEdgePoint: new Vector3(),
|
|
2167
|
-
outgoingEdgePoint: new Vector3()
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
export const TEST_NODES: Node[] = [TEST_NODE_ROOT, TEST_NODE_LEAF]
|
|
2171
|
-
|
|
2172
|
-
export const INCOMING_NODE: Node = {
|
|
2173
|
-
name: "root/small leaf",
|
|
2174
|
-
id: 2,
|
|
2175
|
-
width: 1,
|
|
2176
|
-
height: 2,
|
|
2177
|
-
length: 3,
|
|
2178
|
-
depth: 4,
|
|
2179
|
-
mapNodeDepth: 2,
|
|
2180
|
-
x0: 5,
|
|
2181
|
-
z0: 6,
|
|
2182
|
-
y0: 7,
|
|
2183
|
-
isLeaf: true,
|
|
2184
|
-
deltas: { a: 1, b: 2 },
|
|
2185
|
-
attributes: { a: 20, b: 15, mcc: 100 },
|
|
2186
|
-
edgeAttributes: { a: { incoming: 2, outgoing: 666 } },
|
|
2187
|
-
heightDelta: 20,
|
|
2188
|
-
visible: true,
|
|
2189
|
-
path: "/root/Parent Leaf/small leaf",
|
|
2190
|
-
link: "NO_LINK",
|
|
2191
|
-
markingColor: "0xFFFFFF",
|
|
2192
|
-
flat: false,
|
|
2193
|
-
color: "#820E0E",
|
|
2194
|
-
incomingEdgePoint: new Vector3(1, 2, 3),
|
|
2195
|
-
outgoingEdgePoint: new Vector3(1, 2, 3)
|
|
2196
|
-
}
|
|
2197
|
-
|
|
2198
|
-
export const COLOR_TEST_NODES: Node[] = [TEST_NODE_ROOT, TEST_NODE_LEAF, INCOMING_NODE]
|
|
2199
|
-
|
|
2200
|
-
export const OUTGOING_NODE: Node = {
|
|
2201
|
-
name: "root/big leaf",
|
|
2202
|
-
id: 1,
|
|
2203
|
-
width: 1,
|
|
2204
|
-
height: 2,
|
|
2205
|
-
length: 3,
|
|
2206
|
-
depth: 4,
|
|
2207
|
-
mapNodeDepth: 2,
|
|
2208
|
-
x0: 5,
|
|
2209
|
-
z0: 6,
|
|
2210
|
-
y0: 7,
|
|
2211
|
-
isLeaf: true,
|
|
2212
|
-
deltas: { a: 1, b: 2 },
|
|
2213
|
-
attributes: { a: 20, b: 15, mcc: 14 },
|
|
2214
|
-
edgeAttributes: { a: { incoming: 2, outgoing: 666 } },
|
|
2215
|
-
heightDelta: 20,
|
|
2216
|
-
visible: true,
|
|
2217
|
-
path: "/root/big leaf",
|
|
2218
|
-
link: "NO_LINK",
|
|
2219
|
-
markingColor: "0xFFFFFF",
|
|
2220
|
-
flat: false,
|
|
2221
|
-
color: "#AABBCC",
|
|
2222
|
-
incomingEdgePoint: new Vector3(1, 2, 3),
|
|
2223
|
-
outgoingEdgePoint: new Vector3(1, 2, 3)
|
|
2224
|
-
}
|
|
2225
|
-
|
|
2226
|
-
export const DIFFERENT_NODE: Node = {
|
|
2227
|
-
name: "root/different leaf",
|
|
2228
|
-
id: 3,
|
|
2229
|
-
width: 1,
|
|
2230
|
-
height: 2,
|
|
2231
|
-
length: 3,
|
|
2232
|
-
depth: 4,
|
|
2233
|
-
mapNodeDepth: 2,
|
|
2234
|
-
x0: 5,
|
|
2235
|
-
z0: 6,
|
|
2236
|
-
y0: 7,
|
|
2237
|
-
isLeaf: true,
|
|
2238
|
-
deltas: { a: 1, b: 2 },
|
|
2239
|
-
attributes: { a: 20, b: 15, mcc: 14 },
|
|
2240
|
-
edgeAttributes: { a: { incoming: 2, outgoing: 666 } },
|
|
2241
|
-
heightDelta: 20,
|
|
2242
|
-
visible: true,
|
|
2243
|
-
path: "/root/different leaf",
|
|
2244
|
-
link: "NO_LINK",
|
|
2245
|
-
markingColor: "0xFFFFFF",
|
|
2246
|
-
flat: false,
|
|
2247
|
-
color: "#AABBCC",
|
|
2248
|
-
incomingEdgePoint: new Vector3(1, 2, 3),
|
|
2249
|
-
outgoingEdgePoint: new Vector3(1, 2, 3)
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
|
-
export const CODE_MAP_BUILDING: CodeMapBuilding = new CodeMapBuilding(
|
|
2253
|
-
0,
|
|
2254
|
-
new Box3(),
|
|
2255
|
-
TEST_NODE_ROOT,
|
|
2256
|
-
DEFAULT_STATE.appSettings.mapColors.neutral
|
|
2257
|
-
)
|
|
2258
|
-
|
|
2259
|
-
export const CODE_MAP_BUILDING_TS_NODE: CodeMapBuilding = new CodeMapBuilding(
|
|
2260
|
-
1,
|
|
2261
|
-
new Box3(),
|
|
2262
|
-
TEST_NODE_LEAF,
|
|
2263
|
-
DEFAULT_STATE.appSettings.mapColors.neutral
|
|
2264
|
-
)
|
|
2265
|
-
|
|
2266
|
-
export const CODE_MAP_BUILDING_WITH_OUTGOING_EDGE_NODE: CodeMapBuilding = new CodeMapBuilding(
|
|
2267
|
-
1,
|
|
2268
|
-
new Box3(),
|
|
2269
|
-
OUTGOING_NODE,
|
|
2270
|
-
DEFAULT_STATE.appSettings.mapColors.neutral
|
|
2271
|
-
)
|
|
2272
|
-
|
|
2273
|
-
export const CODE_MAP_BUILDING_WITH_INCOMING_EDGE_NODE: CodeMapBuilding = new CodeMapBuilding(
|
|
2274
|
-
2,
|
|
2275
|
-
new Box3(),
|
|
2276
|
-
INCOMING_NODE,
|
|
2277
|
-
DEFAULT_STATE.appSettings.mapColors.neutral
|
|
2278
|
-
)
|
|
2279
|
-
|
|
2280
|
-
export const BLACKLIST: BlacklistItem[] = [
|
|
2281
|
-
{
|
|
2282
|
-
path: "/my/path",
|
|
2283
|
-
type: "flatten"
|
|
2284
|
-
},
|
|
2285
|
-
{
|
|
2286
|
-
path: "/my/different/path",
|
|
2287
|
-
type: "exclude"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
path: "/my/first/path",
|
|
2291
|
-
type: "exclude"
|
|
2292
|
-
}
|
|
2293
|
-
]
|
|
2294
|
-
|
|
2295
|
-
export const MARKED_PACKAGES: MarkedPackage[] = [
|
|
2296
|
-
{
|
|
2297
|
-
path: "/my/path",
|
|
2298
|
-
color: "#AABBCC"
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
path: "/my/different/path",
|
|
2302
|
-
color: "#DDEEFF"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
path: "/my/first/path",
|
|
2306
|
-
color: "#123456"
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
path: "/my/last/path",
|
|
2310
|
-
color: "#345678"
|
|
2311
|
-
}
|
|
2312
|
-
]
|
|
2313
|
-
|
|
2314
|
-
export const CONSTANT_HIGHLIGHT: Map<number, CodeMapBuilding> = new Map([
|
|
2315
|
-
[CODE_MAP_BUILDING.id, CODE_MAP_BUILDING],
|
|
2316
|
-
[CODE_MAP_BUILDING_TS_NODE.id, CODE_MAP_BUILDING_TS_NODE]
|
|
2317
|
-
])
|
|
2318
|
-
|
|
2319
|
-
export function setIsBlacklisted(paths: string[], map: CodeMapNode, type: BlacklistType) {
|
|
2320
|
-
const pathsSet = new Set(paths)
|
|
2321
|
-
for (const node of hierarchy(map)) {
|
|
2322
|
-
if (isLeaf(node) && pathsSet.has(node.data.path)) {
|
|
2323
|
-
setBlacklistFlagByType(node.data, type, true)
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
function setBlacklistFlagByType(node: CodeMapNode, type: BlacklistType, flag: boolean) {
|
|
2329
|
-
if (type === "exclude") {
|
|
2330
|
-
node.isExcluded = flag
|
|
2331
|
-
} else {
|
|
2332
|
-
node.isFlattened = flag
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
|
-
export function setupFiles(): FileState[] {
|
|
2337
|
-
return [
|
|
2338
|
-
{ file: TEST_DELTA_MAP_A, selectedAs: FileSelectionState.None },
|
|
2339
|
-
{ file: TEST_DELTA_MAP_B, selectedAs: FileSelectionState.None }
|
|
2340
|
-
]
|
|
2341
|
-
}
|