Perturbative diagrams in string field theory