{
  "schemaVersion": 1,
  "generatedAt": "2026-08-12T23:41:07.486Z",
  "generationKey": "3baecbca80a8fdf93bd802e31fe77206bf2ef158665c7c5c066533d2a20007da",
  "metadataPayloadSha256": "ef7ca90dc3623821d239904d65d669ebdb3f460dcec6247ba48086b776544e93",
  "diagram": {
    "id": "relation-insight-computation-e333c685",
    "title": "Relation insight computation",
    "description": "One edge in, one EdgeInsight out: evidence quotes, the composite strength, direction by relation type, and a deterministic explanation sentence — no model calls anywhere.",
    "status": "current",
    "canonicalAppearanceKey": "tsx:src/app/(docs)/docs/concepts/relation-explainability/page.tsx:insightChart#1"
  },
  "aliases": [],
  "concepts": [
    "Relation explainability",
    "Insight"
  ],
  "keywords": [
    "src, dst",
    "by relation type",
    "directed vs symmetric",
    "assertion term E",
    "s / (s + 2)",
    "association term A",
    "NPMI (Jaccard fallback)",
    "composite score",
    "co-mention contexts",
    "shared documents",
    "edge click / Why? expander",
    "typed relations + mention counts",
    "doc universe for the pair",
    "quotes, assertional first",
    "deterministic explanation sentence",
    "canonical_relations",
    "relation_evidence",
    "mentions",
    "direction",
    "EdgeInsight"
  ],
  "mermaid": {
    "type": "flowchart",
    "direction": "LR",
    "sourceSha256": "e333c685a00d33758aba8ea601f19ef82cc03120a0286ed96c9a531d05f7caa7"
  },
  "provenance": [
    {
      "appearanceKey": "tsx:src/app/(docs)/docs/concepts/relation-explainability/page.tsx:insightChart#1",
      "surface": "route",
      "sourcePath": "src/app/(docs)/docs/concepts/relation-explainability/page.tsx",
      "line": 26,
      "route": "/docs/concepts/relation-explainability",
      "symbol": "insightChart",
      "caption": "One edge in, one EdgeInsight out: evidence quotes, the composite strength, direction by relation type, and a deterministic explanation sentence — no model calls anywhere."
    }
  ],
  "embeddedMetadata": [
    {
      "sourcePath": "src/app/(docs)/docs/concepts/relation-explainability/page.tsx",
      "caption": "One edge in, one EdgeInsight out: evidence quotes, the composite strength, direction by relation type, and a deterministic explanation sentence — no model calls anywhere."
    }
  ],
  "generation": {
    "application": {
      "name": "eli-ai",
      "version": "0.1.0"
    },
    "environment": {
      "node": "v26.3.1",
      "yarn": "4.17.1",
      "platform": "linux",
      "architecture": "x64",
      "containerImage": "playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109"
    },
    "packages": {
      "mermaid": "11.16.0",
      "mermaidCli": "11.16.0",
      "playwright": "1.62.1",
      "playwrightCore": "1.62.1",
      "puppeteer": "25.6.0",
      "puppeteerCore": "25.6.0"
    },
    "renderer": {
      "mermaidConfigSha256": "68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101",
      "themeCssSha256": "c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033",
      "browser": {
        "name": "chromium",
        "revision": "1234",
        "version": "151.0.7922.34",
        "executableSha256": "0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71"
      },
      "font": {
        "family": "Eli Diagram Inter Variable",
        "fileSha256": "3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62",
        "licenseSha256": "3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345"
      }
    },
    "adapterVersions": {
      "diagramGenerator": "2",
      "drawioFlowchart": "1",
      "drawioSequence": "1",
      "drawioState": "1",
      "drawioGantt": "1"
    }
  },
  "artifacts": {
    "mmd": "/diagrams/relation-insight-computation-e333c685/relation-insight-computation-e333c685.mmd",
    "svg": "/diagrams/relation-insight-computation-e333c685/relation-insight-computation-e333c685.svg",
    "png": "/diagrams/relation-insight-computation-e333c685/relation-insight-computation-e333c685.png",
    "drawio": "/diagrams/relation-insight-computation-e333c685/relation-insight-computation-e333c685.drawio",
    "json": "/diagrams/relation-insight-computation-e333c685/relation-insight-computation-e333c685.json"
  },
  "artifactSha256": {
    "mmd": "6a3cd6f3172fa90b5de6ab5634fc4510cf170dcba40225fe735f6d3c70548403",
    "svg": "c43f1c9fa5638946c3a0a15ed02e5b4c771d77f67c0f72607f9cde7b534a64b9",
    "png": "e15dc21d0e8d65962a7ba45d6f2e1162464dcc48ac66deebe5858f3f263bf78c",
    "drawio": "e38e1bb65b95c9a9850c2d320693e623bdebedc235dbfe68bbee301356793236"
  }
}
