lshs
Showing
1 changed file
with
5 additions
and
3 deletions
| ... | @@ -187,7 +187,7 @@ export default { | ... | @@ -187,7 +187,7 @@ export default { |
| 187 | graph.render(); | 187 | graph.render(); |
| 188 | 188 | ||
| 189 | graph.on('node:click', e => { | 189 | graph.on('node:click', e => { |
| 190 | alert(e); | 190 | alert(e.item); |
| 191 | }); | 191 | }); |
| 192 | 192 | ||
| 193 | graph.on('node:mouseenter', e => { | 193 | graph.on('node:mouseenter', e => { |
| ... | @@ -240,19 +240,21 @@ export default { | ... | @@ -240,19 +240,21 @@ export default { |
| 240 | #mountNode{ | 240 | #mountNode{ |
| 241 | /*height: calc(100% - 68px);*/ | 241 | /*height: calc(100% - 68px);*/ |
| 242 | margin-top: 20px; | 242 | margin-top: 20px; |
| 243 | width: 60%; | 243 | width: 50%; |
| 244 | height: 80%; | 244 | height: 80%; |
| 245 | 245 | ||
| 246 | position:absolute; | 246 | position:absolute; |
| 247 | float: left; | 247 | float: left; |
| 248 | border: 1px solid red; | ||
| 248 | } | 249 | } |
| 249 | 250 | ||
| 250 | #mountNodeRight{ | 251 | #mountNodeRight{ |
| 251 | margin-top: 20px; | 252 | margin: 20px 20px 0 0; |
| 252 | width: 38%; | 253 | width: 38%; |
| 253 | float: right; | 254 | float: right; |
| 254 | height: 1000px; | 255 | height: 1000px; |
| 255 | border: 0 solid #5ebbff; | 256 | border: 0 solid #5ebbff; |
| 257 | background: white; | ||
| 256 | } | 258 | } |
| 257 | 259 | ||
| 258 | .slot{ | 260 | .slot{ | ... | ... |
-
Please register or sign in to post a comment