样式修改
Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -179,6 +179,8 @@ export default { | ... | @@ -179,6 +179,8 @@ export default { |
179 | 'polyline', | 179 | 'polyline', |
180 | ); | 180 | ); |
181 | 181 | ||
182 | |||
183 | //鼠标移动 弹出界面 | ||
182 | const tooltip = new G6.Tooltip({ | 184 | const tooltip = new G6.Tooltip({ |
183 | offsetX: 10, | 185 | offsetX: 10, |
184 | offsetY: 10, | 186 | offsetY: 10, |
... | @@ -224,13 +226,14 @@ export default { | ... | @@ -224,13 +226,14 @@ export default { |
224 | endArrow: true, | 226 | endArrow: true, |
225 | radius: 10, | 227 | radius: 10, |
226 | offset: 10, | 228 | offset: 10, |
229 | // fontSize:14, | ||
227 | // endArrow: true, | 230 | // endArrow: true, |
228 | lineWidth: 2, | 231 | lineWidth: 2, //箭头宽度 |
229 | stroke: 'rgba(78,142,230,0.45)', | 232 | stroke: 'rgba(78,142,230,0.45)', |
230 | }, | 233 | }, |
231 | }, | 234 | }, |
232 | nodeStateStyles: { | 235 | nodeStateStyles: { |
233 | selected: { | 236 | selected: {//选中之后样式 |
234 | stroke: '#d9d9d9', | 237 | stroke: '#d9d9d9', |
235 | fill: '#5394ef', | 238 | fill: '#5394ef', |
236 | }, | 239 | }, | ... | ... |
-
Please register or sign in to post a comment