Here, we applied graph theory on the microscopic scale, using miniscope-based calcium imaging from the freely behaving wild type (WT) and <i>Shank3</i> <sup><i>fx</i></sup> mice (a mouse model of autism), and compared functional connections among individual neurons in the prefrontal microcircuits during social behavior. Here, SHANK3 is linked to autism.