nucleoside diphosphate metabolic process [GO_0009132] - Virtual Fly Brain