id: 1 unit: export default function nodeReducer() file: src/state/node/nodeReducer.ts start line: 33 end line: 156 size: 121 LOC McCabe index: 22 number of parameters: 2 id: 2 unit: export default function hierarchicalLayout() file: src/state/layout/hierarchicalLayout.ts start line: 30 end line: 191 size: 98 LOC McCabe index: 14 number of parameters: 2 id: 3 unit: function arrangeEvenly() file: src/state/layout/hierarchicalLayout.ts start line: 199 end line: 309 size: 92 LOC McCabe index: 18 number of parameters: 3 id: 4 unit: export default function workspaceReducer() file: src/state/workspace/workspaceReducer.ts start line: 209 end line: 303 size: 90 LOC McCabe index: 13 number of parameters: 2 id: 5 unit: export function renderDiagramMaker() file: integ/ActionInterceptor/render.ts start line: 22 end line: 113 size: 88 LOC McCabe index: 6 number of parameters: 0 id: 6 unit: export function renderDiagramMaker() file: integ/DarkTheme/render.ts start line: 23 end line: 105 size: 83 LOC McCabe index: 4 number of parameters: 0 id: 7 unit: export function renderDiagramMaker() file: integ/BoundaryRectangular/render.ts start line: 23 end line: 104 size: 82 LOC McCabe index: 3 number of parameters: 0 id: 8 unit: export function renderDiagramMaker() file: integ/TopBottomRectangular/render.ts start line: 23 end line: 104 size: 82 LOC McCabe index: 4 number of parameters: 0 id: 9 unit: export function renderDiagramMaker() file: integ/LeftRightRectangular/render.ts start line: 23 end line: 104 size: 82 LOC McCabe index: 4 number of parameters: 0 id: 10 unit: export function renderDiagramMaker() file: integ/Layout/render.ts start line: 23 end line: 104 size: 82 LOC McCabe index: 4 number of parameters: 0 id: 11 unit: export function renderDiagramMaker() file: integ/BoundaryCircular/render.ts start line: 23 end line: 103 size: 81 LOC McCabe index: 5 number of parameters: 0 id: 12 unit: export function renderDiagramMaker() file: integ/Plugins/render.ts start line: 23 end line: 107 size: 81 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: function applyGravity() file: src/state/layout/hierarchicalLayout.ts start line: 315 end line: 416 size: 71 LOC McCabe index: 23 number of parameters: 3 id: 14 unit: export default function edgeReducer() file: src/state/edge/edgeReducer.ts start line: 11 end line: 70 size: 60 LOC McCabe index: 10 number of parameters: 2 id: 15 unit: private renderEdgeBadges() file: src/components/view/View.tsx start line: 478 end line: 534 size: 51 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: export default function editorReducer() file: src/state/editor/editorReducer.ts start line: 8 end line: 55 size: 48 LOC McCabe index: 10 number of parameters: 2 id: 17 unit: public render() file: src/components/view/View.tsx start line: 305 end line: 360 size: 47 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: export default function workflowLayout() file: src/state/layout/workflowLayout.ts start line: 25 end line: 79 size: 46 LOC McCabe index: 3 number of parameters: 2 id: 19 unit: private getEdges() file: src/components/view/View.tsx start line: 536 end line: 574 size: 37 LOC McCabe index: 5 number of parameters: 0 id: 20 unit: export function adjustWorkspace() file: src/state/layout/layoutReducer.ts start line: 10 end line: 50 size: 36 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: export function fromAdjacencyList() file: src/testing/diagramMakerDataBuilder.ts start line: 25 end line: 65 size: 36 LOC McCabe index: 2 number of parameters: 2 id: 22 unit: export function createPluginPanel() file: integ/utils.ts start line: 366 end line: 402 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 23 unit: export default function panelReducer() file: src/state/panel/panelReducer.ts start line: 94 end line: 122 size: 29 LOC McCabe index: 9 number of parameters: 2 id: 24 unit: private renderEdge() file: src/components/view/View.tsx start line: 447 end line: 476 size: 29 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: private subscribeToUIEvents() file: src/state/ActionDispatcher.ts start line: 79 end line: 107 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: export function createLibraryPanel() file: integ/utils.ts start line: 186 end line: 218 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: export default function potentialNodeReducer() file: src/state/node/potentialNodeReducer.ts start line: 10 end line: 36 size: 27 LOC McCabe index: 6 number of parameters: 2 id: 28 unit: public static normalizeMouseClickEvent() file: src/service/ui/UIEventNormalizer.ts start line: 137 end line: 173 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 29 unit: export function getBrowserSize() file: src/service/browserUtils.ts start line: 3 end line: 33 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 30 unit: public render() file: src/components/connector/Connector.tsx start line: 21 end line: 47 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 31 unit: export function createNodeWithDropdown() file: integ/utils.ts start line: 88 end line: 113 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 32 unit: export function createToolsPanel() file: integ/utils.ts start line: 337 end line: 364 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: export default function potentialEdgeReducer() file: src/state/edge/potentialEdgeReducer.ts start line: 8 end line: 31 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 34 unit: public static normalizeKeyboardEvent() file: src/service/ui/UIEventNormalizer.ts start line: 230 end line: 257 size: 24 LOC McCabe index: 6 number of parameters: 3 id: 35 unit: private renderNodes() file: src/components/view/View.tsx start line: 385 end line: 409 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: public static getTarget() file: src/service/ui/UITargetNormalizer.ts start line: 83 end line: 112 size: 23 LOC McCabe index: 8 number of parameters: 3 id: 37 unit: public render() file: src/components/node/Node.tsx start line: 26 end line: 49 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: export function createNodeWithInput() file: integ/utils.ts start line: 64 end line: 86 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 39 unit: export default function createStore() file: src/state/createStore.ts start line: 17 end line: 48 size: 22 LOC McCabe index: 2 number of parameters: 5 id: 40 unit: export function constrainRectangleWithinRectangle() file: src/service/positionUtils.ts start line: 192 end line: 216 size: 22 LOC McCabe index: 1 number of parameters: 3 id: 41 unit: public render() file: src/components/panel/Panel.tsx start line: 55 end line: 78 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 42 unit: private getConnectors() file: src/components/node/Node.tsx start line: 55 end line: 77 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 43 unit: export default function layoutReducer() file: src/state/layout/layoutReducer.ts start line: 52 end line: 73 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 44 unit: public render() file: src/components/edge/Edge.tsx start line: 26 end line: 49 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: private renderArrowheadMarker() file: src/components/view/View.tsx start line: 362 end line: 383 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 46 unit: private renderPotentialEdge() file: src/components/view/View.tsx start line: 598 end line: 619 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: export function createRectangularConnectorNode() file: integ/utils.ts start line: 42 end line: 62 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: export function createCircularNode() file: integ/utils.ts start line: 115 end line: 135 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 49 unit: angle: getAngle() file: src/state/layout/hierarchicalLayout.ts start line: 136 end line: 161 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 50 unit: public render() file: src/components/node/PotentialNode.tsx start line: 20 end line: 40 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: private renderPanels() file: src/components/view/View.tsx start line: 576 end line: 596 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: apply() file: DeclarationBundlePlugin.js start line: 10 end line: 35 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: export function handleNodeDrag() file: src/state/node/nodeActionDispatcher.ts start line: 119 end line: 137 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 54 unit: private renderPotentialNode() file: src/components/view/View.tsx start line: 411 end line: 432 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 55 unit: function isInsideBoundingBox() file: src/state/node/nodeReducer.ts start line: 14 end line: 31 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 56 unit: function meanOfAngles() file: src/state/layout/hierarchicalLayout.ts start line: 445 end line: 465 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 57 unit: export function createRectangularNode() file: integ/utils.ts start line: 23 end line: 40 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 58 unit: export function triggerKeyboardEvent() file: cypress/common/interaction.ts start line: 133 end line: 149 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 59 unit: export function getDefaultWorkspaceState() file: src/state/workspace/workspaceReducer.ts start line: 23 end line: 39 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: public render() file: src/components/contextMenu/ContextMenu.tsx start line: 18 end line: 35 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: export function updateActionInLogger() file: integ/utils.ts start line: 417 end line: 433 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: export function handleShowContextMenu() file: src/state/editor/editorActionDispatcher.ts start line: 87 end line: 103 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 63 unit: public static normalizeMouseEventTarget() file: src/service/ui/UITargetNormalizer.ts start line: 41 end line: 81 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 64 unit: public static getDropZoneTarget() file: src/service/ui/UITargetNormalizer.ts start line: 128 end line: 147 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 65 unit: private getFilteredConnectors() file: src/components/node/Node.tsx start line: 79 end line: 96 size: 16 LOC McCabe index: 5 number of parameters: 0 id: 66 unit: export function handlePotentialNodeDragStart() file: src/state/node/nodeActionDispatcher.ts start line: 150 end line: 164 size: 15 LOC McCabe index: 4 number of parameters: 4 id: 67 unit: export function handleNodeCreate() file: src/state/node/nodeActionDispatcher.ts start line: 193 end line: 207 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: export function handleEdgeCreate() file: src/state/edge/edgeActionDispatcher.ts start line: 70 end line: 84 size: 15 LOC McCabe index: 7 number of parameters: 3 id: 69 unit: export function getRootReducer() file: src/state/common/rootReducer.ts start line: 13 end line: 26 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: export function sequenceReducers() file: src/state/common/sequenceReducers.ts start line: 10 end line: 23 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: export function handlePotentialNodeDrag() file: src/state/node/nodeActionDispatcher.ts start line: 166 end line: 181 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: constructor() file: src/service/ui/UIEventManager.ts start line: 112 end line: 135 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: export function render() file: src/components/renderUtils.tsx start line: 9 end line: 22 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 74 unit: export function handlePanelDrag() file: src/state/panel/panelActionDispatcher.ts start line: 93 end line: 105 size: 13 LOC McCabe index: 2 number of parameters: 5 id: 75 unit: export default function readOnlyEventFilter() file: src/state/mode/readOnly/readOnlyEventFilter.ts start line: 7 end line: 20 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 76 unit: export function handleDeleteSelectedItems() file: src/state/global/globalActionDispatcher.ts start line: 33 end line: 47 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: public focusSelected() file: src/service/DiagramMakerApi.ts start line: 78 end line: 90 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 78 unit: export function createPanelNode() file: integ/utils.ts start line: 172 end line: 184 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 79 unit: function createShowContextMenuAction() file: src/state/editor/editorActionDispatcher.ts start line: 26 end line: 37 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 80 unit: function getDraggablePanelOffset() file: src/state/panel/panelActionDispatcher.ts start line: 37 end line: 50 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: function getSizeFromDataAttrs() file: src/state/node/nodeActionDispatcher.ts start line: 86 end line: 97 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 82 unit: function getAngle() file: src/state/layout/hierarchicalLayout.ts start line: 496 end line: 509 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: export function createDeleteItemsAction() file: src/state/global/globalActionDispatcher.ts start line: 7 end line: 18 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: export function createNewItemsAction() file: src/state/global/globalActionDispatcher.ts start line: 20 end line: 31 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: public fit() file: src/service/DiagramMakerApi.ts start line: 101 end line: 112 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 86 unit: position: fromPageToContainer() file: src/service/ui/UIEventNormalizer.ts start line: 132 end line: 146 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 87 unit: private renderSelectionMarquee() file: src/components/view/View.tsx start line: 621 end line: 632 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 88 unit: export function createEdgeBetween() file: cypress/common/interaction.ts start line: 156 end line: 170 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: export function handleUpdateSelectionMarquee() file: src/state/editor/editorActionDispatcher.ts start line: 125 end line: 136 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 90 unit: function createDragNodeAction() file: src/state/node/nodeActionDispatcher.ts start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 91 unit: export function getInflectionPoint() file: src/service/positionUtils.ts start line: 39 end line: 59 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: export function handleTestPluginEvent() file: integ/utils.ts start line: 404 end line: 415 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 93 unit: function getPanelAttributeAsBoolean() file: src/state/panel/panelActionDispatcher.ts start line: 13 end line: 25 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 94 unit: export function handlePanelResize() file: src/state/panel/panelActionDispatcher.ts start line: 82 end line: 91 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 95 unit: export function createInterceptorMiddleware() file: src/state/middleware/createInterceptorMiddleware.ts start line: 7 end line: 17 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: export function getBrowserRectangle() file: src/service/browserUtils.ts start line: 35 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: public focusNode() file: src/service/DiagramMakerApi.ts start line: 58 end line: 67 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 98 unit: public static normalizeWheelEvent() file: src/service/ui/UIEventNormalizer.ts start line: 199 end line: 209 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: function createTestInput() file: integ/utils.ts start line: 326 end line: 335 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: function createUpdateSelectionMarqueeAction() file: src/state/editor/editorActionDispatcher.ts start line: 48 end line: 56 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: export function handleHideContextMenu() file: src/state/editor/editorActionDispatcher.ts start line: 105 end line: 114 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 102 unit: export function handleHideSelectionMarquee() file: src/state/editor/editorActionDispatcher.ts start line: 138 end line: 147 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: export function handlePanelDragStart() file: src/state/panel/panelActionDispatcher.ts start line: 107 end line: 115 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 104 unit: export function handleNodeClick() file: src/state/node/nodeActionDispatcher.ts start line: 99 end line: 107 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 105 unit: export function handleNodeDragStart() file: src/state/node/nodeActionDispatcher.ts start line: 109 end line: 117 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 106 unit: export function handleNodeDragEnd() file: src/state/node/nodeActionDispatcher.ts start line: 139 end line: 148 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 107 unit: export function handlePotentialNodeDragEnd() file: src/state/node/nodeActionDispatcher.ts start line: 183 end line: 191 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: export function handleEdgeDragStart() file: src/state/edge/edgeActionDispatcher.ts start line: 44 end line: 52 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 109 unit: public static normalizeMouseMoveEvent() file: src/service/ui/UIEventNormalizer.ts start line: 126 end line: 135 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: private listenFor() file: src/service/ui/UIEventManager.ts start line: 157 end line: 165 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 111 unit: export function isPositionInRectangle() file: src/service/positionUtils.ts start line: 167 end line: 176 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 112 unit: private renderEdges() file: src/components/view/View.tsx start line: 434 end line: 445 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: function createWorkflowLayoutButton() file: integ/utils.ts start line: 306 end line: 314 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: function createHierarchicalLayoutButton() file: integ/utils.ts start line: 316 end line: 324 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: export default function pluginReducer() file: src/state/plugin/pluginReducer.ts start line: 4 end line: 11 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 116 unit: function createShowSelectionMarqueeAction() file: src/state/editor/editorActionDispatcher.ts start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: export function createFocusNodeAction() file: src/state/editor/editorActionDispatcher.ts start line: 71 end line: 78 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 118 unit: private createEventFilterCallback() file: src/state/ActionDispatcher.ts start line: 112 end line: 120 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 119 unit: export function handleWorkspaceZoom() file: src/state/workspace/workspaceActionDispatcher.ts start line: 69 end line: 76 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 120 unit: function createPotentialNodeDragStartAction() file: src/state/node/nodeActionDispatcher.ts start line: 55 end line: 62 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 121 unit: function createNewNodeAction() file: src/state/node/nodeActionDispatcher.ts start line: 77 end line: 84 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 122 unit: export default function rootEventFilter() file: src/state/mode/rootEventFilter.ts start line: 8 end line: 15 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 123 unit: export function handleEdgeDragEnd() file: src/state/edge/edgeActionDispatcher.ts start line: 54 end line: 61 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 124 unit: export function handleEdgeClick() file: src/state/edge/edgeActionDispatcher.ts start line: 86 end line: 93 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 125 unit: private workspaceZoom() file: src/service/DiagramMakerApi.ts start line: 173 end line: 180 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: public static getElementsFromPoint() file: src/service/ui/UITargetNormalizer.ts start line: 115 end line: 126 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 127 unit: private static nodeListToElementArray() file: src/service/ui/UITargetNormalizer.ts start line: 149 end line: 158 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 128 unit: export function getRequiredAttribute() file: src/service/ui/UIEventNormalizer.ts start line: 111 end line: 118 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 129 unit: public static normalizeWindowEvent() file: src/service/ui/UIEventNormalizer.ts start line: 220 end line: 228 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: private listenForSyntheticEvents() file: src/service/ui/UIEventManager.ts start line: 137 end line: 155 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: export function buildWorkspace() file: src/testing/diagramMakerDataBuilder.ts start line: 10 end line: 17 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: public render() file: src/components/common/ComposeView.tsx start line: 15 end line: 22 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: export function createPotentialNode() file: integ/utils.ts start line: 14 end line: 21 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 134 unit: export function handleShowSelectionMarquee() file: src/state/editor/editorActionDispatcher.ts start line: 116 end line: 123 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 135 unit: function getPanelElement() file: src/state/panel/panelActionDispatcher.ts start line: 27 end line: 35 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 136 unit: function getDraggablePanelPosition() file: src/state/panel/panelActionDispatcher.ts start line: 52 end line: 59 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 137 unit: export function handleWorkspaceDrag() file: src/state/workspace/workspaceActionDispatcher.ts start line: 61 end line: 67 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 138 unit: export function handleWorkspaceResize() file: src/state/workspace/workspaceActionDispatcher.ts start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 139 unit: function pushTowardsAngle() file: src/state/layout/hierarchicalLayout.ts start line: 433 end line: 439 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 140 unit: function isLeftTurn() file: src/state/layout/hierarchicalLayout.ts start line: 476 end line: 483 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 141 unit: export default function getInitialState() file: src/state/getInitialState.ts start line: 4 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: public static normalizeTarget() file: src/service/ui/UITargetNormalizer.ts start line: 14 end line: 20 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 143 unit: public static checkAttributeValue() file: src/service/ui/UITargetNormalizer.ts start line: 22 end line: 30 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 144 unit: public static isMouseEventInsideBrowser() file: src/service/ui/UITargetNormalizer.ts start line: 32 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: position: fromPageToContainer() file: src/service/ui/UIEventNormalizer.ts start line: 206 end line: 214 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 146 unit: public static normalizeContainerEvent() file: src/service/ui/UIEventNormalizer.ts start line: 211 end line: 218 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: export function createNodeContextMenu() file: integ/utils.ts start line: 143 end line: 149 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 148 unit: export function createEdgeContextMenu() file: integ/utils.ts start line: 151 end line: 157 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 149 unit: export function createPanelContextMenu() file: integ/utils.ts start line: 159 end line: 165 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 150 unit: function createToolButton() file: integ/utils.ts start line: 220 end line: 226 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 151 unit: export function addDevTools() file: integ/utils.ts start line: 435 end line: 441 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 152 unit: export function createSetEditorModeAction() file: src/state/editor/editorActionDispatcher.ts start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: export function createFitAction() file: src/state/editor/editorActionDispatcher.ts start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 154 unit: function createResizePanelAction() file: src/state/panel/panelActionDispatcher.ts start line: 61 end line: 66 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 155 unit: function createDragPanelAction() file: src/state/panel/panelActionDispatcher.ts start line: 68 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 156 unit: function createDragPanelStartAction() file: src/state/panel/panelActionDispatcher.ts start line: 75 end line: 80 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: export function createDragWorkspaceAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 15 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: export function createZoomWorkspaceAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 159 unit: function createResizeWorkspaceAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: export function createResizeWorkspaceCanvasAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 48 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: export function handleWorkspaceClick() file: src/state/workspace/workspaceActionDispatcher.ts start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: export function handleSelectAll() file: src/state/workspace/workspaceActionDispatcher.ts start line: 93 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: function createSelectNodeAction() file: src/state/node/nodeActionDispatcher.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 164 unit: function createDragStartNodeAction() file: src/state/node/nodeActionDispatcher.ts start line: 29 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: function createDragEndNodeAction() file: src/state/node/nodeActionDispatcher.ts start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: function createPotentialNodeDragAction() file: src/state/node/nodeActionDispatcher.ts start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 167 unit: export function createLayoutAction() file: src/state/layout/layoutActionDispatcher.ts start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: function createDragStartEdgeAction() file: src/state/edge/edgeActionDispatcher.ts start line: 10 end line: 15 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 169 unit: function createDragEdgeAction() file: src/state/edge/edgeActionDispatcher.ts start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: function createNewEdgeAction() file: src/state/edge/edgeActionDispatcher.ts start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 171 unit: function createSelectEdgeAction() file: src/state/edge/edgeActionDispatcher.ts start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: export function handleEdgeDrag() file: src/state/edge/edgeActionDispatcher.ts start line: 63 end line: 68 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 173 unit: public static normalizeRightClickEvent() file: src/service/ui/UIEventNormalizer.ts start line: 175 end line: 181 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 174 unit: public static normalizeMouseUpEvent() file: src/service/ui/UIEventNormalizer.ts start line: 183 end line: 189 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 175 unit: public static normalizeMouseDownEvent() file: src/service/ui/UIEventNormalizer.ts start line: 191 end line: 197 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 176 unit: target: normalizeTarget() file: src/service/ui/UIEventManager.ts start line: 399 end line: 405 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 177 unit: export function getCenterCoordinateForCurve() file: src/service/positionUtils.ts start line: 13 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 178 unit: export function getMidpoint() file: src/service/positionUtils.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: export function getScrollPosition() file: src/service/positionUtils.ts start line: 65 end line: 70 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 180 unit: export function add() file: src/service/positionUtils.ts start line: 81 end line: 86 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: export function subtract() file: src/service/positionUtils.ts start line: 97 end line: 102 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 182 unit: src: getEdgeCoordinateSource() file: src/components/view/View.tsx start line: 267 end line: 278 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 183 unit: export function createDivWithText() file: integ/utils.ts start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: function createHideContextMenuAction() file: src/state/editor/editorActionDispatcher.ts start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 185 unit: function createHideSelectionMarqueeAction() file: src/state/editor/editorActionDispatcher.ts start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: export function createWorkspaceResetZoomAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 187 unit: function createDeselectAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: function createSelectAllAction() file: src/state/workspace/workspaceActionDispatcher.ts start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: function createPotentialNodeDragEndAction() file: src/state/node/nodeActionDispatcher.ts start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: function createDragEndEdgeAction() file: src/state/edge/edgeActionDispatcher.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: export function buildEditor() file: src/testing/diagramMakerDataBuilder.ts start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 192 unit: dest: getEdgeCoordinateDestination() file: src/components/view/View.tsx start line: 268 end line: 278 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 193 unit: function mapStateToProps() file: src/components/view/ConnectedView.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: constructor() file: DeclarationBundlePlugin.js start line: 4 end line: 8 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 195 unit: export function createContextMenu() file: integ/utils.ts start line: 137 end line: 141 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: function createUpdateContainerButton() file: integ/utils.ts start line: 228 end line: 232 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: function createDestroyButton() file: integ/utils.ts start line: 234 end line: 238 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: function createDragToolButton() file: integ/utils.ts start line: 240 end line: 244 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: function createSelectToolButton() file: integ/utils.ts start line: 246 end line: 250 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: function createReadOnlyToolButton() file: integ/utils.ts start line: 252 end line: 256 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: function createFocusNodeButton() file: integ/utils.ts start line: 258 end line: 262 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: function createFocusSelectedButton() file: integ/utils.ts start line: 264 end line: 268 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: function createFitButton() file: integ/utils.ts start line: 270 end line: 274 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: function createZoomInButton() file: integ/utils.ts start line: 276 end line: 280 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: function createZoomOutButton() file: integ/utils.ts start line: 282 end line: 286 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: function createResetZoomButton() file: integ/utils.ts start line: 288 end line: 292 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: function createUndoButton() file: integ/utils.ts start line: 294 end line: 298 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: function createRedoButton() file: integ/utils.ts start line: 300 end line: 304 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: export function clickElement() file: cypress/common/interaction.ts start line: 104 end line: 107 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 210 unit: export function rightClickElement() file: cypress/common/interaction.ts start line: 119 end line: 122 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 211 unit: private subscribeWithFilter() file: src/state/ActionDispatcher.ts start line: 122 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 212 unit: function angleBetween() file: src/state/layout/hierarchicalLayout.ts start line: 488 end line: 491 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 213 unit: workspace: getDefaultWorkspaceState() file: src/state/getInitialState.ts start line: 9 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: public layout() file: src/service/DiagramMakerApi.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: public setEditorMode() file: src/service/DiagramMakerApi.ts start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: public zoomIn() file: src/service/DiagramMakerApi.ts start line: 120 end line: 123 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: public zoomOut() file: src/service/DiagramMakerApi.ts start line: 131 end line: 134 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: public resetZoom() file: src/service/DiagramMakerApi.ts start line: 141 end line: 144 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: public undo() file: src/service/DiagramMakerApi.ts start line: 151 end line: 154 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 220 unit: public redo() file: src/service/DiagramMakerApi.ts start line: 161 end line: 164 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 221 unit: export function fromScreenToPage() file: src/service/positionUtils.ts start line: 110 end line: 113 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: export function createWorkspaceContextMenu() file: integ/utils.ts start line: 167 end line: 170 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: consumerEnhancer: addDevTools() file: integ/Plugins/render.ts start line: 100 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 224 unit: export function convertTranslate2dToMatrix() file: cypress/common/utils.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 225 unit: export function convertScaleToMatrix() file: cypress/common/utils.ts start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 226 unit: function getLeftButtonMouseEventParams() file: cypress/common/interaction.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 227 unit: function getRightButtonMouseEventParams() file: cypress/common/interaction.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 228 unit: export function dragAndDropElement() file: cypress/common/interaction.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 229 unit: export function dragStartElement() file: cypress/common/interaction.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: export function dragElement() file: cypress/common/interaction.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 231 unit: export function dropElement() file: cypress/common/interaction.ts start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: export function forceDragAndDropElement() file: cypress/common/interaction.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 233 unit: export function getElementByDataIdAndType() file: cypress/common/getters.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 234 unit: export function getElementByType() file: cypress/common/getters.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: export function getDiagramMakerView() file: cypress/common/getters.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: export function getWorkspace() file: cypress/common/getters.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: export function getSelectionMarquee() file: cypress/common/getters.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 238 unit: export function getContextMenu() file: cypress/common/getters.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 239 unit: export function getNodeById() file: cypress/common/getters.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: export function getEdgeById() file: cypress/common/getters.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: export function getEdgeBadgeById() file: cypress/common/getters.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: export function getPotentialNodeById() file: cypress/common/getters.ts start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: export function getPotentialEdge() file: cypress/common/getters.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: export function getPanelById() file: cypress/common/getters.ts start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: export function getPanelDragHandleById() file: cypress/common/getters.ts start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: export function getAllNodes() file: cypress/common/getters.ts start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: export function getAllEdges() file: cypress/common/getters.ts start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: function sortNodeDirections() file: src/state/layout/hierarchicalLayout.ts start line: 422 end line: 424 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 249 unit: public dispatch() file: src/service/DiagramMakerApi.ts start line: 169 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: public static normalizeKeyUpEvent() file: src/service/ui/UIEventNormalizer.ts start line: 259 end line: 261 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 251 unit: public static normalizeKeyDownEvent() file: src/service/ui/UIEventNormalizer.ts start line: 263 end line: 265 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: public static normalizeKeyPressEvent() file: src/service/ui/UIEventNormalizer.ts start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: export function fromPageToScreen() file: src/service/positionUtils.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: export function fromPageToContainer() file: src/service/positionUtils.ts start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 255 unit: export function fromContainerToPage() file: src/service/positionUtils.ts start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 256 unit: export function getCenteredPosition() file: src/service/positionUtils.ts start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 257 unit: function isBetween() file: src/service/positionUtils.ts start line: 157 end line: 159 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 258 unit: export function asMock() file: src/testing/testUtils.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: export function destroy() file: src/components/renderUtils.tsx start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 260 unit: source() file: DeclarationBundlePlugin.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 261 unit: size() file: DeclarationBundlePlugin.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 262 unit: constructor() file: src/service/ConfigService.ts start line: 308 end line: 309 size: 2 LOC McCabe index: 1 number of parameters: 1