| Action | Data | Description |
| select |
node% object |
called when the user clicks on a node |
| deselect |
node% object |
called when the node is deselected |
| before-line-add |
(src dst) |
ccalled before a line is added between
the source and the destination, if the return value of the callback
function is false the line is not allowed and not added |
| after-line-add |
line% object |
called after the line is added |
| before-line-del |
(src dst) |
called before a line is deleted between
the source and the destination, if the return value of the callback
function is false the line is not deleted |
| after-line-del |
#f |
called after the line is deleted |
| before-node-add |
string |
called before a node is added,
if the return value of the callback function is false the node
cannot be added |
| after-node-add |
node% object |
called after the node is added |
| before-node-del |
node% object |
called before the node is deleted,
if the return value of the callback function is false the node
is not deleted |
| after-node-del |
id |
called after the node has been deleted,
the deleted node had the id |
| before-clear |
#f |
called before the full network is deleted,
if the callback function returns #f then nothing happens |
| after-clear |
#f |
called after the network is initialised |