File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/app/components/StateRoute/ComponentMap Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -240,18 +240,13 @@ export default function ComponentMap({
240
240
const childPropsObj = link . target . data . componentData . props ;
241
241
let propsLength ;
242
242
let childPropsLength ;
243
- console . log ( `------------------------------${ i } :` ) ;
244
243
245
-
246
- console . log ( `LINK: ${ linkName } ` , link ) ;
247
- console . log ( '>PROPS: ' , propsObj ) ;
248
244
if ( propsObj ) {
249
245
propsLength = Object . keys ( propsObj ) . length ;
250
- console . log ( '>> props_length: ' , propsLength ) ;
251
246
}
252
247
if ( childPropsObj ) {
253
248
childPropsLength = Object . keys ( childPropsObj ) . length ;
254
- console . log ( '>> child_props_length: ' , childPropsLength ) ;
249
+
255
250
}
256
251
// go to https://en.wikipedia.org/wiki/Logistic_function
257
252
// for an explanation of Logistic functions and parameters used
@@ -260,8 +255,6 @@ export default function ComponentMap({
260
255
const L = 25 ;
261
256
const k = .4 ;
262
257
const strokeWidthIndex = yshift + L / ( 1 + Math . exp ( - k * ( childPropsLength - x0 ) ) ) ;
263
- // const strokeWidthIndex = childPropsLength * 2.5 + 1;
264
- console . log ( 'strokeWidthIndex: ' , strokeWidthIndex ) ;
265
258
266
259
if ( strokeWidthIndex <= 1 ) {
267
260
stroke = '#808080' ;
You can’t perform that action at this time.
0 commit comments