{#- 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.id }}
{{ doc.status }}
{%- for tag in doc.tags %} {{ tag }}{% endfor %}
no stored relationships
{% endif %}no knowledge document at '{{ doc_id }}'
{% endif %}