I found node related events
|
// For debugging |
|
// onClick: ({sourceLayer}) => { |
|
// // @ts-ignore |
|
// console.log(sourceLayer.props.tile.id, sourceLayer.props.tile.data) |
|
// }, |
|
autoHighlight: true, |
|
onHover: ({object, sourceLayer}) => { |
|
if (!this._highlightedNodeId) { |
|
if (object instanceof GeomNode) { |
|
this._highlight(object.id) |
|
} else { |
|
this._highlight(null) |
|
} |
|
} |
|
}, |
certainly need to emit some mouse events here
I found node related events
msagljs/modules/renderer-webgl/src/renderer.ts
Lines 283 to 297 in 9493905
certainly need to emit some mouse events here