link.stopTransitions([path])

Stops all running transitions. If parameter path is provided, it will stop only transitions specified by this path.