Computational study of topological effects on intramolecular electron transfer in mixed-valence compounds