parse dot for pdg