On complexity of substructure connectivity and restricted connectivity of graphs | Synapse