Mouse events with graph-tool

Hi,

we are building an interactive graph and want to implement some mouse
events. We found the example:
https://graph-tool.skewed.de/static/doc/demos/animation/animation.html , but
we still struggle. Is there an easier way then making a subclass? Like "
give the draw function a self written mouse_listener as argument" ?

Thanks for help!

Oliver

No, that would require allowing every possible override via parameter
arguments, which would clutter the code tremendously. The proper way to do
this is to subclass, which a lot more elegant, and does the job.

Best,
Tiago