@yanqirenshi/d3.ter 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/js/Port.js CHANGED
@@ -309,7 +309,7 @@ var Port = /*#__PURE__*/function (_Atman) {
309
309
  }
310
310
  };
311
311
 
312
- case 'DOWN':
312
+ case 'UP':
313
313
  return {
314
314
  from: {
315
315
  x: from.x + r,
@@ -375,7 +375,7 @@ var Port = /*#__PURE__*/function (_Atman) {
375
375
  case 'DOWN':
376
376
  return [[from.x - distance, from.y], [from.x, from.y + distance], [from.x + distance, from.y]];
377
377
 
378
- case 'DOWN':
378
+ case 'UP':
379
379
  return [[from.x - distance, from.y], [from.x, from.y - distance], [from.x + distance, from.y]];
380
380
 
381
381
  case 'RIGHT':
@@ -403,7 +403,7 @@ var Port = /*#__PURE__*/function (_Atman) {
403
403
  y: from.y + distance
404
404
  };
405
405
 
406
- case 'DOWN':
406
+ case 'UP':
407
407
  return {
408
408
  x: from.x,
409
409
  y: from.y - distance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yanqirenshi/d3.ter",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "author": "yanqirenshi@gmail.com",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "description": "See `src/index.html`",