An_stategraph/attractors: code cleanup