fzaninotto / DependencyWheel

A package dependency visualization using d3.js. Currently supports Composer for PHP.
http://www.redotheweb.com/DependencyWheel/
MIT License
264 stars 155 forks source link

Add activated/deactivated callbacks #11

Open owickstrom opened 8 years ago

owickstrom commented 8 years ago

This introduces two new options, letting the user of DependencyWheel pass callbacks that gets called with the packageName index on "activated" and "deactivated" events (when the user hovers and things fade in/out).

If anyone can come up with a better naming than activated/deactivated, that would probably be nice.