@riil-frontend/component-topology 2.15.8 → 2.15.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.
@@ -19,7 +19,7 @@ import GraphDataModel from "./GraphDataModel";
19
19
  import { updateEdgeExpanded } from "../utils/edgeUtil";
20
20
  import PluginManager from "./PluginManager"; // eslint-disable-next-line no-undef
21
21
 
22
- var version = typeof "2.15.8" === 'string' ? "2.15.8" : null;
22
+ var version = typeof "2.15.9" === 'string' ? "2.15.9" : null;
23
23
  console.info("\u62D3\u6251\u7248\u672C: " + version);
24
24
  var topoDebug = {};
25
25
  window.topoDebug = topoDebug;
@@ -336,7 +336,7 @@ function AddLinkDrawer(props) {
336
336
  } // 切换到连线组状态
337
337
 
338
338
 
339
- htTopo.toggleEdgeGroup(source, target, true);
339
+ htTopo.toggleEdgeGroup(source, target, false);
340
340
  } else {
341
341
  // 物理、出口链路
342
342
  if (edgesInNodes.length === 1 && !htTopo.getEdgeData(edgesInNodes[0])) {
@@ -345,7 +345,7 @@ function AddLinkDrawer(props) {
345
345
  htTopo.createEdge(source, target, linkData);
346
346
  }
347
347
 
348
- htTopo.toggleEdgeGroup(source, target, false);
348
+ htTopo.toggleEdgeGroup(source, target, true);
349
349
  } // TODO 选中
350
350
 
351
351
 
@@ -46,7 +46,7 @@ var _edgeUtil = require("../utils/edgeUtil");
46
46
  var _PluginManager = _interopRequireDefault(require("./PluginManager"));
47
47
 
48
48
  // eslint-disable-next-line no-undef
49
- var version = typeof "2.15.8" === 'string' ? "2.15.8" : null;
49
+ var version = typeof "2.15.9" === 'string' ? "2.15.9" : null;
50
50
  console.info("\u62D3\u6251\u7248\u672C: " + version);
51
51
  var topoDebug = {};
52
52
  window.topoDebug = topoDebug;
@@ -375,7 +375,7 @@ function AddLinkDrawer(props) {
375
375
  } // 切换到连线组状态
376
376
 
377
377
 
378
- htTopo.toggleEdgeGroup(source, target, true);
378
+ htTopo.toggleEdgeGroup(source, target, false);
379
379
  } else {
380
380
  // 物理、出口链路
381
381
  if (edgesInNodes.length === 1 && !htTopo.getEdgeData(edgesInNodes[0])) {
@@ -384,7 +384,7 @@ function AddLinkDrawer(props) {
384
384
  htTopo.createEdge(source, target, linkData);
385
385
  }
386
386
 
387
- htTopo.toggleEdgeGroup(source, target, false);
387
+ htTopo.toggleEdgeGroup(source, target, true);
388
388
  } // TODO 选中
389
389
 
390
390
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "2.15.8",
3
+ "version": "2.15.9",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -111,6 +111,6 @@
111
111
  "access": "public"
112
112
  },
113
113
  "license": "MIT",
114
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.8/build/index.html",
114
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@2.15.9/build/index.html",
115
115
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
116
116
  }