File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function History(props: any) {
43
43
44
44
let root = JSON . parse ( JSON . stringify ( hierarchy ) ) ;
45
45
let isRecoil = false ;
46
- // console.log('before makedTree, hierarchy is, ', hierarchy);
46
+
47
47
let HistoryRef = React . createRef ( root ) ; //React.createRef(root);
48
48
useEffect ( ( ) => {
49
49
maked3Tree ( ) ;
@@ -78,7 +78,6 @@ function History(props: any) {
78
78
// d3.hierarchy constructs a root node from the specified hierarchical data
79
79
// (our object titled dataset), which must be an object representing the root node
80
80
const hierarchy = d3 . hierarchy ( root ) ;
81
- // console.log('after maked3tree, hierarchy is now: ', hierarchy);
82
81
const tree = d3
83
82
. tree ( )
84
83
. nodeSize ( [ width / 10 , height / 10 ] )
@@ -238,7 +237,7 @@ function History(props: any) {
238
237
return [ ( y = + y ) * Math . cos ( ( x -= Math . PI / 2 ) ) , y * Math . sin ( x ) ] ;
239
238
}
240
239
} ;
241
- // console.log('have we hit maked3dtree');
240
+
242
241
// below we are rendering the LegendKey component and passing hierarchy as props
243
242
// then rendering each node in History tab to render using D3
244
243
You can’t perform that action at this time.
0 commit comments