onPanUpdate method
Implementation
@override
void onPanUpdate(DragUpdateInfo info) {
if (graph.hoverVertex != null) {
algorithm.onDrag(graph.hoverVertex!, info, camera.viewfinder);
graph.hoverVertex?.cpn?.onDrag(info);
} else {
camera.viewfinder.position -= info.delta.global / camera.viewfinder.zoom;
}
}