The following list contains events that you can react on:
change - generic event triggered for any change in the graphadd - triggered when a new cell is added to the graphremove - triggered when a cell is removed from the graphgraph.on('add', function(cell) {
alert('New cell with id ' + cell.id + ' added to the graph.')
})