Add number to diagram