Graph theory and molecular orbitals