682cf5fc by 焦泽平

历史回述单击

1 parent b161f9db
......@@ -186,6 +186,10 @@ export default {
graph.data(data);
graph.render();
graph.on('node:click', e => {
alert(e);
});
graph.on('node:mouseenter', e => {
graph.setItemState(e.item, 'active', true)
});
......