See https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.operators.all.compose_all.html
As the documentation says:
A graph with the same type as the first graph in list
Activity