fixed unnecessary logging and tests

This commit is contained in:
Klemek
2019-07-17 11:19:46 +02:00
parent 1bfdde5346
commit 0604b9bfe7
6 changed files with 35 additions and 51 deletions
+1 -3
View File
@@ -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;
+1 -1
View File
File diff suppressed because one or more lines are too long