Various structures from 1D to trinuclear by anion-induced conversion