Components and Cycles Components and cycles components = query.find_connected_components() cycles = query.find_cycles(max_cycle_size=10)