{# The shortest chain of references (the recursive CTE, ≤ 6 hops) and its drawing #}
{% if error %}
{{ error }}
{% elif trace and trace.path %}
Ścieżka: {{ trace.length }} {{ "krok" if trace.length == 1 else ("kroki" if trace.length % 10 in (2, 3, 4) and trace.length % 100 not in (12, 13, 14) else "kroków") }}{% if not directed %} (w obie strony){% endif %}
Brak ścieżki odesłań w granicach {{ trace.max_depth }} kroków{% if directed %} — spróbuj w obie strony{% endif %}. Graf odesłań jest rzadki: często to prawdziwa odpowiedź.