fixed unnecessary logging and tests
This commit is contained in:
Vendored
+1
-3
@@ -8990,7 +8990,7 @@ module.exports = (options) => {
|
||||
|
||||
return {
|
||||
'_attributes': {
|
||||
'transform': `${reverse?'rotate(180) ':''}translate(${pos.x * margin} ${pos.y * margin}) scale(${1 / options['scale']} ${1 / options['scale']})`,
|
||||
'transform': `${reverse ? 'rotate(180) ' : ''}translate(${pos.x * margin} ${pos.y * margin}) scale(${1 / options['scale']} ${1 / options['scale']})`,
|
||||
'fill': (subE['color'] || element['color'] || options['texts']['color'] || options[link ? 'links' : 'icons']['color'] || undefined),
|
||||
},
|
||||
'text': text
|
||||
@@ -9048,8 +9048,6 @@ module.exports = (options) => {
|
||||
|
||||
const angle = Math.atan2(dst.y - src.y, (dst.x - src.x) * options['h-spacing']) * 180 / Math.PI;
|
||||
|
||||
console.log(angle);
|
||||
|
||||
const groups = [];
|
||||
|
||||
const scale = (link['scale'] || options['links']['scale']) * DEFAULT_SCALE;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user