Skip to content

Commit ba1cab4

Browse files
Finish cc tree
1 parent d40df86 commit ba1cab4

28 files changed

Lines changed: 1051 additions & 1697 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"redux-saga": "^0.16.0",
4040
"redux-thunk": "^2.2.0",
4141
"style-loader": "^0.21.0",
42-
"svg.js": "^2.6.4",
4342
"webpack": "^4.6.0",
4443
"websocket": "^1.0.26"
4544
},

src/public/dist/bundle.js

Lines changed: 784 additions & 1132 deletions
Large diffs are not rendered by default.

src/public/dist/bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/js/components/controls/ViewSwitches/store/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const DefaultState = {
4747
key: CONTROLS_KEYS.CODE_CRUMBS_MINIMIZE
4848
},
4949
{
50-
name: 'show details',
50+
name: 'show details (remove it)',
5151
title: 'Show all Details',
5252
key: CONTROLS_KEYS.CODE_CRUMBS_DETAILS
5353
}

src/public/js/components/tree-diagram/component/CodeCrumbsTree/CodeCrumbsTree.js

Lines changed: 0 additions & 202 deletions
This file was deleted.

src/public/js/components/tree-diagram/component/CodeCrumbsTree/drawHelpers.js

Lines changed: 0 additions & 114 deletions
This file was deleted.

src/public/js/components/tree-diagram/component/utils/Dot/index.css renamed to src/public/js/components/tree-diagram/component/Dot/index.css

File renamed without changes.

src/public/js/components/tree-diagram/component/utils/Dot/index.js renamed to src/public/js/components/tree-diagram/component/Dot/index.js

File renamed without changes.

src/public/js/components/tree-diagram/component/utils/Edge/CodeCrumbEdge.js renamed to src/public/js/components/tree-diagram/component/Edge/CodeCrumbEdge.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import './index.css';
33

4-
import { PURPLE_COLOR, SYMBOL_WIDTH } from '../../../store/constants';
4+
import { SYMBOL_WIDTH } from '../../store/constants';
55

66
export const PartEdge = props => {
77
const { sourcePosition, parentName } = props;
@@ -22,20 +22,20 @@ export const PartEdge = props => {
2222
);
2323
};
2424

25-
export const CodeCrumbEdge = (props) => {
25+
export const CodeCrumbEdge = props => {
2626
const { sourcePosition, targetPosition, parentName } = props;
2727

2828
const nameWidth = SYMBOL_WIDTH * parentName.length;
2929
const padding = 40;
3030
const edgeTurnDistance = 20;
3131

32-
const P1 = {x: sourcePosition.x + nameWidth + padding, y: sourcePosition.y};
32+
const P1 = { x: sourcePosition.x + nameWidth + padding, y: sourcePosition.y };
3333

34-
const P2 = {x: targetPosition.x - edgeTurnDistance, y: sourcePosition.y};
35-
const P3 = {x: targetPosition.x - edgeTurnDistance, y: targetPosition.y};
34+
const P2 = { x: targetPosition.x - edgeTurnDistance, y: sourcePosition.y };
35+
const P3 = { x: targetPosition.x - edgeTurnDistance, y: targetPosition.y };
3636
const P4 = targetPosition;
3737

3838
const polylinePoints = [[P1.x, P1.y], [P2.x, P2.y], [P3.x, P3.y], [P4.x, P4.y]];
3939

40-
return <polyline points={polylinePoints.join(', ')} className={'CodeCrumbEdge'} />
40+
return <polyline points={polylinePoints.join(', ')} className={'CodeCrumbEdge'} />;
4141
};

src/public/js/components/tree-diagram/component/utils/Edge/DepenenciesEdge.js renamed to src/public/js/components/tree-diagram/component/Edge/DepenenciesEdge.js

File renamed without changes.

0 commit comments

Comments
 (0)