GG-SSMs: Graph-Generating State Space Models