@riil-frontend/component-topology 12.1.1 → 12.1.2

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.
@@ -24,7 +24,7 @@ import ElementTagTipConfig from "./tagstips/ElementTagTipConfig";
24
24
  import SelectionModel from "./SelectionModel";
25
25
  import CiCache from "./cache/CiCache"; // eslint-disable-next-line no-undef
26
26
 
27
- var version = typeof "12.1.1" === 'string' ? "12.1.1" : null;
27
+ var version = typeof "12.1.2" === 'string' ? "12.1.2" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -142,7 +142,9 @@ export function getEdgesBetweenNodes(node1, node2) {
142
142
  return edges;
143
143
  }
144
144
 
145
- node1Edges.toArray().filter(isValidEdge).forEach(function (edge) {
145
+ node1Edges.toArray().filter(isValidEdge).filter(function (edge) {
146
+ return !isEdgeGroupAgent(edge);
147
+ }).forEach(function (edge) {
146
148
  var isEdgeBetweenNodes = edge.getSource().getTag() === node2.getTag() || edge.getTarget().getTag() === node2.getTag();
147
149
 
148
150
  if (isEdgeBetweenNodes) {
@@ -54,7 +54,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
54
54
  var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
55
55
 
56
56
  // eslint-disable-next-line no-undef
57
- var version = typeof "12.1.1" === 'string' ? "12.1.1" : null;
57
+ var version = typeof "12.1.2" === 'string' ? "12.1.2" : null;
58
58
  console.info("\u62D3\u6251\u7248\u672C: " + version);
59
59
  /**
60
60
  * 拓扑显示和编辑
@@ -199,7 +199,9 @@ function getEdgesBetweenNodes(node1, node2) {
199
199
  return edges;
200
200
  }
201
201
 
202
- node1Edges.toArray().filter(isValidEdge).forEach(function (edge) {
202
+ node1Edges.toArray().filter(isValidEdge).filter(function (edge) {
203
+ return !isEdgeGroupAgent(edge);
204
+ }).forEach(function (edge) {
203
205
  var isEdgeBetweenNodes = edge.getSource().getTag() === node2.getTag() || edge.getTarget().getTag() === node2.getTag();
204
206
 
205
207
  if (isEdgeBetweenNodes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "12.1.1",
3
+ "version": "12.1.2",
4
4
  "description": "拓扑",
5
5
  "scripts": {
6
6
  "start": "build-scripts start",
@@ -123,6 +123,6 @@
123
123
  "access": "public"
124
124
  },
125
125
  "license": "MIT",
126
- "homepage": "https://unpkg.com/@riil-frontend/component-topology@12.1.1/build/index.html",
126
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@12.1.2/build/index.html",
127
127
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
128
128
  }