<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="eli.ai" agent="eli.ai diagram exporter" version="1">
  <diagram id="entity-review-merge-5c6b5c42" name="Entity review — merge">
    <mxGraphModel dx="1600" dy="1200" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="1200" math="0" shadow="0">
      <root>
        <mxCell id="0"/>
        <object id="1" label="Entity review — merge" schemaVersion="1" diagramId="entity-review-merge-5c6b5c42" canonicalAppearanceKey="tsx:src/app/(docs)/docs/capabilities/entity-review/page.tsx:mergeChart#1" sourceSha256="5c6b5c4225b130a103d7db3eca1fdff19b00def7dfad9345c084499e62eecf69" metadataPayloadSha256="c8c6149837e0adc99d8f331340754d07ecfefe5e7b5e50a6b6fbcac0832eb47b" generationKey="c1a097192a8fe148b34b0255b1032cf5b8d89a89d6c2fde262daa68db9eeb0ae" concepts="[&quot;Entity review&quot;,&quot;Capabilities&quot;,&quot;Merge&quot;]" keywords="[&quot;name similarity &gt; 0.35&quot;,&quot;set merged_into pointer&quot;,&quot;repoint canonical_id + aliases&quot;,&quot;same-type entities&quot;,&quot;human decision&quot;,&quot;not persisted&quot;,&quot;remove from this browser view&quot;,&quot;rebuilt for affected entities&quot;,&quot;clear pointer + retract merge-tagged aliases&quot;,&quot;rebuild canonical relations&quot;,&quot;canonical_relations&quot;,&quot;merge&quot;,&quot;dismiss&quot;]" application="{&quot;name&quot;:&quot;eli-ai&quot;,&quot;version&quot;:&quot;0.1.0&quot;}" packages="{&quot;mermaid&quot;:&quot;11.16.0&quot;,&quot;mermaidCli&quot;:&quot;11.16.0&quot;,&quot;playwright&quot;:&quot;1.62.1&quot;,&quot;playwrightCore&quot;:&quot;1.62.1&quot;,&quot;puppeteer&quot;:&quot;25.6.0&quot;,&quot;puppeteerCore&quot;:&quot;25.6.0&quot;}" environment="{&quot;architecture&quot;:&quot;x64&quot;,&quot;containerImage&quot;:&quot;playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109&quot;,&quot;node&quot;:&quot;v26.3.1&quot;,&quot;platform&quot;:&quot;linux&quot;,&quot;yarn&quot;:&quot;4.17.1&quot;}" renderer="{&quot;browser&quot;:{&quot;executableSha256&quot;:&quot;0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71&quot;,&quot;name&quot;:&quot;chromium&quot;,&quot;revision&quot;:&quot;1234&quot;,&quot;version&quot;:&quot;151.0.7922.34&quot;},&quot;font&quot;:{&quot;family&quot;:&quot;Eli Diagram Inter Variable&quot;,&quot;fileSha256&quot;:&quot;3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62&quot;,&quot;licenseSha256&quot;:&quot;3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345&quot;},&quot;mermaidConfigSha256&quot;:&quot;68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101&quot;,&quot;themeCssSha256&quot;:&quot;c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033&quot;}" adapterVersions="{&quot;diagramGenerator&quot;:&quot;2&quot;,&quot;drawioFlowchart&quot;:&quot;1&quot;,&quot;drawioGantt&quot;:&quot;1&quot;,&quot;drawioSequence&quot;:&quot;1&quot;,&quot;drawioState&quot;:&quot;1&quot;}" mermaidType="flowchart" direction="LR" generatedAt="2026-08-12T23:38:27.314Z" mermaidSource="flowchart LR&#10;  Q[&quot;same-type entities&lt;br/&gt;name similarity &gt; 0.35&quot;] --&gt; Rev{human decision}&#10;  Rev --&gt;|merge| Ptr[&quot;set merged_into pointer&lt;br/&gt;repoint canonical_id + aliases&quot;]&#10;  Rev --&gt;|dismiss| Local[&quot;remove from this browser view&lt;br/&gt;(not persisted)&quot;]&#10;  Ptr --&gt; Canon[(&quot;canonical_relations&lt;br/&gt;rebuilt for affected entities&quot;)]&#10;  Ptr -. undo .-&gt; Restore[&quot;clear pointer + retract merge-tagged aliases&lt;br/&gt;rebuild canonical relations&quot;]">
          <mxCell parent="0"/>
        </object>
        <object id="n:Q" label="same-type entitiesname similarity &gt; 0.35" mermaidId="Q" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="8" y="176.9667" width="222.78125" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Rev" label="human decision" mermaidId="Rev" mermaidShape="diamond">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;perimeter=rhombusPerimeter;shape=rhombus;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="281.28125" y="129.271387" width="171.390625" height="171.390625" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Ptr" label="set merged_into pointerrepoint canonical_id + aliases" mermaidId="Ptr" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="559.078125" y="89.9667" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Local" label="remove from this browser view(not persisted)" mermaidId="Local" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="559.078125" y="239.9667" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Canon" label="canonical_relationsrebuilt for affected entities" mermaidId="Canon" mermaidShape="cylinder">
          <mxCell parent="1" vertex="1" style="backgroundOutline=1;boundedLbl=1;fillColor=#ECECFF;fontColor=#333333;html=1;shape=cylinder3;size=15;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="924.734375" y="7.999999" width="213.3125" height="109.288934" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:Restore" label="clear pointer + retract merge-tagged aliasesrebuild canonical relations" mermaidId="Restore" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="903.390625" y="167.288933" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="e:L_Q_Rev_0" label="" mermaidId="L_Q_Rev_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Q" target="n:Rev" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="230.78125" y="214.9667" as="sourcePoint"/>
              <mxPoint x="280.78125" y="214.9667" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="255.78125" y="214.9667"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Rev_Ptr_0" label="merge" mermaidId="L_Rev_Ptr_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Rev" target="n:Ptr" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="422.159289" y="184.954113" as="sourcePoint"/>
              <mxPoint x="559.078125" y="139.9667" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="505.625" y="139.9667"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Rev_Local_0" label="dismiss" mermaidId="L_Rev_Local_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Rev" target="n:Local" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="422.159289" y="244.979286" as="sourcePoint"/>
              <mxPoint x="559.078125" y="289.9667" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="505.625" y="289.9667"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Ptr_Canon_0" label="" mermaidId="L_Ptr_Canon_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Ptr" target="n:Canon" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="798.402024" y="89.9667" as="sourcePoint"/>
              <mxPoint x="924.734375" y="62.644466" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="859.234375" y="62.644466"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_Ptr_Restore_0" label="undo" mermaidId="L_Ptr_Restore_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:Ptr" target="n:Restore" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="798.402024" y="189.9667" as="sourcePoint"/>
              <mxPoint x="903.390625" y="217.288933" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="859.234375" y="217.288933"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
