{#- Inspect-panel fragment for the knowledge graph's node click: one node's identity + relationships, fetched by knowledge-graph.js and swapped into #knowledge-graph-panel. Extends no base — inherently fragment-only (the canvas script is the only client). A knowledge doc links /knowledge/{family}/{slug}; a memory item links /memory/{tier}/{slug} (family carries the tier there). -#} {% import "_links.html" as links with context %} {% if doc %} {%- set ns = namespace(base='/knowledge') -%} {%- if doc.kind == 'memory' %}{% set ns.base = '/memory' %}{% endif -%}
{{ doc.family }} {{ doc.title }}

{{ doc.id }}

{{ doc.status }} {%- for tag in doc.tags %} {{ tag }}{% endfor %}

Relationships ({{ doc.related | length }})

{% if doc.related_groups %} {% for group in doc.related_groups %}

{{ group.relation }}

{% endfor %} {% else %}

no stored relationships

{% endif %}
Open full detail → {% else %}

no knowledge document at '{{ doc_id }}'

{% endif %}