@riil-frontend/component-topology 10.0.9 → 10.0.10

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.
@@ -82,7 +82,7 @@ function getValuesByEdges(topo) {
82
82
  edgeValues.push({
83
83
  baseAgreement: false,
84
84
  //,
85
- lineButton: edge.s('edge.type'),
85
+ lineButton: edge.a('edge.type.name') || edge.s('edge.type'),
86
86
  startPoint: getStartPoint(edge),
87
87
  endPoint: getEndPoint(edge),
88
88
  lineMold: edge.a('lineMode') || 'solidLine'
@@ -129,5 +129,6 @@ export function setEdgesType(edges, type, topo) {
129
129
  htTopo.setGraphLinear(edge, {
130
130
  type: type
131
131
  });
132
+ edge.a('edge.type.name', type);
132
133
  });
133
134
  }
@@ -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 "10.0.9" === 'string' ? "10.0.9" : null;
27
+ var version = typeof "10.0.10" === 'string' ? "10.0.10" : null;
28
28
  console.info("\u62D3\u6251\u7248\u672C: " + version);
29
29
  /**
30
30
  * 拓扑显示和编辑
@@ -100,7 +100,7 @@ function getValuesByEdges(topo) {
100
100
  edgeValues.push({
101
101
  baseAgreement: false,
102
102
  //,
103
- lineButton: edge.s('edge.type'),
103
+ lineButton: edge.a('edge.type.name') || edge.s('edge.type'),
104
104
  startPoint: getStartPoint(edge),
105
105
  endPoint: getEndPoint(edge),
106
106
  lineMold: edge.a('lineMode') || 'solidLine'
@@ -143,5 +143,6 @@ function setEdgesType(edges, type, topo) {
143
143
  htTopo.setGraphLinear(edge, {
144
144
  type: type
145
145
  });
146
+ edge.a('edge.type.name', type);
146
147
  });
147
148
  }
@@ -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 "10.0.9" === 'string' ? "10.0.9" : null;
59
+ var version = typeof "10.0.10" === 'string' ? "10.0.10" : null;
60
60
  console.info("\u62D3\u6251\u7248\u672C: " + version);
61
61
  /**
62
62
  * 拓扑显示和编辑
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riil-frontend/component-topology",
3
- "version": "10.0.9",
3
+ "version": "10.0.10",
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@10.0.9/build/index.html",
119
+ "homepage": "https://unpkg.com/@riil-frontend/component-topology@10.0.10/build/index.html",
120
120
  "gitHead": "2da19ffccbb7ca60a8acf396e39f542c68bb33f5"
121
121
  }