@riil-frontend/component-topology 9.0.0-a.33 → 9.0.0-a.34
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 "9.0.0-a.
|
27
|
+
var version = typeof "9.0.0-a.34" === 'string' ? "9.0.0-a.34" : null;
|
28
28
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
29
29
|
/**
|
30
30
|
* 拓扑显示和编辑
|
@@ -169,11 +169,11 @@ var LinkDynamicStyleExecutor = /*#__PURE__*/function () {
|
|
169
169
|
var autoChangeEdgeWidth = displayConfig.autoChangeEdgeWidth !== false;
|
170
170
|
|
171
171
|
if (!autoChangeEdgeWidth) {
|
172
|
-
return
|
172
|
+
return 3;
|
173
173
|
}
|
174
174
|
|
175
175
|
if (!links.length) {
|
176
|
-
return
|
176
|
+
return 3;
|
177
177
|
}
|
178
178
|
|
179
179
|
var total = 0;
|
@@ -192,7 +192,7 @@ var LinkDynamicStyleExecutor = /*#__PURE__*/function () {
|
|
192
192
|
var autoChangeEdgeWidth = displayConfig.autoChangeEdgeWidth !== false;
|
193
193
|
|
194
194
|
if (!autoChangeEdgeWidth) {
|
195
|
-
return
|
195
|
+
return 3;
|
196
196
|
}
|
197
197
|
|
198
198
|
return this.calcEdgeWidth(link.attributes['network_link.actual_bandwidth']);
|
@@ -56,7 +56,7 @@ var _SelectionModel = _interopRequireDefault(require("./SelectionModel"));
|
|
56
56
|
var _CiCache = _interopRequireDefault(require("./cache/CiCache"));
|
57
57
|
|
58
58
|
// eslint-disable-next-line no-undef
|
59
|
-
var version = typeof "9.0.0-a.
|
59
|
+
var version = typeof "9.0.0-a.34" === 'string' ? "9.0.0-a.34" : null;
|
60
60
|
console.info("\u62D3\u6251\u7248\u672C: " + version);
|
61
61
|
/**
|
62
62
|
* 拓扑显示和编辑
|
@@ -180,11 +180,11 @@ var LinkDynamicStyleExecutor = /*#__PURE__*/function () {
|
|
180
180
|
var autoChangeEdgeWidth = displayConfig.autoChangeEdgeWidth !== false;
|
181
181
|
|
182
182
|
if (!autoChangeEdgeWidth) {
|
183
|
-
return
|
183
|
+
return 3;
|
184
184
|
}
|
185
185
|
|
186
186
|
if (!links.length) {
|
187
|
-
return
|
187
|
+
return 3;
|
188
188
|
}
|
189
189
|
|
190
190
|
var total = 0;
|
@@ -203,7 +203,7 @@ var LinkDynamicStyleExecutor = /*#__PURE__*/function () {
|
|
203
203
|
var autoChangeEdgeWidth = displayConfig.autoChangeEdgeWidth !== false;
|
204
204
|
|
205
205
|
if (!autoChangeEdgeWidth) {
|
206
|
-
return
|
206
|
+
return 3;
|
207
207
|
}
|
208
208
|
|
209
209
|
return this.calcEdgeWidth(link.attributes['network_link.actual_bandwidth']);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@riil-frontend/component-topology",
|
3
|
-
"version": "9.0.0-a.
|
3
|
+
"version": "9.0.0-a.34",
|
4
4
|
"description": "拓扑",
|
5
5
|
"scripts": {
|
6
6
|
"start": "build-scripts start",
|
@@ -116,6 +116,6 @@
|
|
116
116
|
"access": "public"
|
117
117
|
},
|
118
118
|
"license": "MIT",
|
119
|
-
"homepage": "https://unpkg.com/@riil-frontend/component-topology@9.0.0-a.
|
119
|
+
"homepage": "https://unpkg.com/@riil-frontend/component-topology@9.0.0-a.34/build/index.html",
|
120
120
|
"gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
|
121
121
|
}
|