gui: only connected graphs are accepted for simulation from now