{#- Inspect-panel fragment for the /graph canvas's node click: one symbol's identity, callers, callees, and the impact view with affected tests, fetched by app.js via htmx.ajax (HX-Request rides the call) and swapped into #graph-panel. Extends no base — the canvas script is the only client; a request without the header still gets the JSON payload the panel predates. Neighbor rows deep-link into the symbol-focused graph view. -#} {% import "_links.html" as links with context %} {% if found %}
{{ symbol.kind or "?" }} {{ symbol.name }}
{% set where = (symbol.file or "") ~ (":" ~ symbol.line_start if symbol.line_start else "") %} {% if where %}

{{ where }}

{% endif %} {% if same_name_count and same_name_count > 1 %}

{{ same_name_count }} same-name definitions — showing the first

{% endif %} {% if symbol.docstring %}

{{ symbol.docstring }}

{% endif %}

Callers ({{ callers | length }})

{% if callers_truncated %}

more callers not shown

{% endif %}

Callees ({{ callees | length }})

{% if callees_truncated %}

more callees not shown

{% endif %}

Impact — {{ impact.total }} symbol{{ 's' if impact.total != 1 }} affected{% if impact.truncated %} (capped){% endif %}

Affected tests{% if impact.affected_tests_total > (impact.affected_tests | length) %} — {{ impact.affected_tests_total }} total{% else %} ({{ impact.affected_tests | length }}){% endif %}

{% else %}

no definition of '{{ name }}' in the index

{% endif %}