def METHOD_NAME(
    resource_types: Iterable[str],
    connected_resource_types: Iterable[str],
    operator: str,
    passed_resources: list[dict[str, Any]],
    failed_resources: list[dict[str, Any]],
) -> None:
    if not env_vars_config.EXPERIMENTAL_GRAPH_DEBUG:
        return
    connection_block_conf = _create_connection_block(
        resource_types=resource_types,
        connected_resource_types=connected_resource_types,
        operator=operator,
    )
    passed_resources_str = '", "'.join(resource[CustomAttributes.ID] for resource in passed_resources)
    failed_resources_str = '", "'.join(resource[CustomAttributes.ID] for resource in failed_resources)
    print("\nEvaluated blocks:\n")
    print(colored(yaml.dump([connection_block_conf], sort_keys=False), "blue"))
    print("and got:\n")
    print(colored(f'Passed resources: "{passed_resources_str}"', "green"))
    print(colored(f'Failed resources: "{failed_resources_str}"', "red"))