---
source: src/manipulator/diff/tests/merge.rs
expression: snapshot_string
---
---- merge.graphml:
<?xml version="1.0" encoding="UTF-8"?>
<graphml>
    <key id="k0" for="graph" attr.name="configuration" attr.type="string"/>
    <key id="k1" for="node" attr.name="SPK0::abbreviation" attr.type="string"/>
    <key id="k2" for="node" attr.name="SPK1::abbreviation" attr.type="string"/>
    <key id="k3" for="node" attr.name="dipl::dipl" attr.type="string"/>
    <key id="k4" for="node" attr.name="annis::doc" attr.type="string"/>
    <key id="k5" for="node" attr.name="annis::layer" attr.type="string"/>
    <key id="k6" for="node" attr.name="annis::node_type" attr.type="string"/>
    <key id="k7" for="node" attr.name="norm::norm" attr.type="string"/>
    <key id="k8" for="node" attr.name="diff::op" attr.type="string"/>
    <key id="k9" for="node" attr.name="annis::tok" attr.type="string"/>
    <graph edgedefault="directed" parse.order="nodesfirst" parse.nodeids="free" parse.edgeids="canonical">
        <data key="k0"><![CDATA[
# configure visualizations here
]]></data>
        <node id="merge">
            <data key="k6">corpus</data>
        </node>
        <node id="merge/a">
            <data key="k6">corpus</data>
        </node>
        <node id="merge/a/doc">
            <data key="k1">dipl</data>
            <data key="k2">norm</data>
            <data key="k4">doc</data>
            <data key="k6">corpus</data>
        </node>
        <node id="merge/b">
            <data key="k6">corpus</data>
        </node>
        <node id="merge/a/doc#T0">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/a/doc#T1">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/a/doc#T3">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/a/doc#T4">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/a/doc#T5">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/a/doc#t_SPK0_T0-T1">
            <data key="k3">dis</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">dis</data>
        </node>
        <node id="merge/a/doc#t_SPK0_T1-T2">
            <data key="k3">is</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">is</data>
        </node>
        <node id="merge/a/doc#t_SPK0_T2-T3">
            <data key="k3">some</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">some</data>
        </node>
        <node id="merge/a/doc#t_SPK0_T3-T4">
            <data key="k3">stuff</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">stuff</data>
        </node>
        <node id="merge/a/doc#t_SPK0_T4-T5">
            <data key="k3">here</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">here</data>
        </node>
        <node id="merge/a/doc#t_SPK0_T5-T6">
            <data key="k3">.</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">.</data>
        </node>
        <node id="merge/a/doc#t_SPK1_T0-T1">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">This</data>
            <data key="k9">This</data>
        </node>
        <node id="merge/a/doc#t_SPK1_T1-T2">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">is</data>
            <data key="k9">is</data>
        </node>
        <node id="merge/a/doc#t_SPK1_T2-T3">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">some</data>
            <data key="k9">some</data>
        </node>
        <node id="merge/a/doc#t_SPK1_T3-T4">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">stuff</data>
            <data key="k9">stuff</data>
        </node>
        <node id="merge/a/doc#t_SPK1_T4-T5">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">here</data>
            <data key="k9">here</data>
        </node>
        <node id="merge/a/doc#t_SPK1_T5-T6">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">.</data>
            <data key="k9">.</data>
        </node>
        <node id="merge/b/doc#T2">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/b/doc#T3">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/b/doc#T5">
            <data key="k6">node</data>
            <data key="k9"> </data>
        </node>
        <node id="merge/b/doc#t_SPK0_T2-T3">
            <data key="k3">very</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">very</data>
        </node>
        <node id="merge/b/doc#t_SPK0_T3-T4">
            <data key="k3">good</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">good</data>
        </node>
        <node id="merge/b/doc#t_SPK0_T5-T7">
            <data key="k3">rihere</data>
            <data key="k5">dipl</data>
            <data key="k6">node</data>
            <data key="k9">rihere</data>
        </node>
        <node id="merge/b/doc#t_SPK1_T2-T3">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">very</data>
            <data key="k9">very</data>
        </node>
        <node id="merge/b/doc#t_SPK1_T3-T4">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">good</data>
            <data key="k9">good</data>
        </node>
        <node id="merge/b/doc#t_SPK1_T5-T6">
            <data key="k5">norm</data>
            <data key="k6">node</data>
            <data key="k7">right</data>
            <data key="k9">right</data>
        </node>
        <node id="merge/a/doc#diff-span2">
            <data key="k6">node</data>
            <data key="k8">replaced</data>
        </node>
        <node id="merge/a/doc#diff-span5">
            <data key="k6">node</data>
            <data key="k8">inserted</data>
        </node>
        <edge id="e0" source="merge/a/doc#t_SPK0_T0-T1" target="merge/a/doc#T0" label="Coverage/annis/">
        </edge>
        <edge id="e1" source="merge/a/doc#t_SPK0_T1-T2" target="merge/a/doc#T1" label="Coverage/annis/">
        </edge>
        <edge id="e2" source="merge/a/doc#t_SPK0_T3-T4" target="merge/a/doc#T3" label="Coverage/annis/">
        </edge>
        <edge id="e3" source="merge/a/doc#t_SPK0_T4-T5" target="merge/a/doc#T4" label="Coverage/annis/">
        </edge>
        <edge id="e4" source="merge/a/doc#t_SPK0_T5-T6" target="merge/a/doc#T5" label="Coverage/annis/">
        </edge>
        <edge id="e5" source="merge/a/doc#t_SPK1_T0-T1" target="merge/a/doc#T0" label="Coverage/annis/">
        </edge>
        <edge id="e6" source="merge/a/doc#t_SPK1_T1-T2" target="merge/a/doc#T1" label="Coverage/annis/">
        </edge>
        <edge id="e7" source="merge/a/doc#t_SPK1_T3-T4" target="merge/a/doc#T3" label="Coverage/annis/">
        </edge>
        <edge id="e8" source="merge/a/doc#t_SPK1_T4-T5" target="merge/a/doc#T4" label="Coverage/annis/">
        </edge>
        <edge id="e9" source="merge/a/doc#t_SPK1_T5-T6" target="merge/a/doc#T5" label="Coverage/annis/">
        </edge>
        <edge id="e10" source="merge/b/doc#t_SPK0_T2-T3" target="merge/b/doc#T2" label="Coverage/annis/">
        </edge>
        <edge id="e11" source="merge/b/doc#t_SPK0_T3-T4" target="merge/b/doc#T3" label="Coverage/annis/">
        </edge>
        <edge id="e12" source="merge/b/doc#t_SPK0_T5-T7" target="merge/b/doc#T5" label="Coverage/annis/">
        </edge>
        <edge id="e13" source="merge/b/doc#t_SPK1_T2-T3" target="merge/b/doc#T2" label="Coverage/annis/">
        </edge>
        <edge id="e14" source="merge/b/doc#t_SPK1_T3-T4" target="merge/b/doc#T3" label="Coverage/annis/">
        </edge>
        <edge id="e15" source="merge/b/doc#t_SPK1_T5-T6" target="merge/b/doc#T5" label="Coverage/annis/">
        </edge>
        <edge id="e16" source="merge/a/doc#diff-span2" target="merge/b/doc#T2" label="Coverage/annis/">
        </edge>
        <edge id="e17" source="merge/a/doc#diff-span2" target="merge/b/doc#T3" label="Coverage/annis/">
        </edge>
        <edge id="e18" source="merge/a/doc#diff-span5" target="merge/b/doc#T5" label="Coverage/annis/">
        </edge>
        <edge id="e19" source="merge/a/doc#T0" target="merge/a/doc#T1" label="Ordering/annis/">
        </edge>
        <edge id="e20" source="merge/a/doc#T1" target="merge/b/doc#T2" label="Ordering/annis/">
        </edge>
        <edge id="e21" source="merge/a/doc#T3" target="merge/b/doc#T5" label="Ordering/annis/">
        </edge>
        <edge id="e22" source="merge/a/doc#T4" target="merge/a/doc#T5" label="Ordering/annis/">
        </edge>
        <edge id="e23" source="merge/b/doc#T2" target="merge/b/doc#T3" label="Ordering/annis/">
        </edge>
        <edge id="e24" source="merge/b/doc#T3" target="merge/a/doc#T3" label="Ordering/annis/">
        </edge>
        <edge id="e25" source="merge/b/doc#T5" target="merge/a/doc#T4" label="Ordering/annis/">
        </edge>
        <edge id="e26" source="merge/a/doc#t_SPK0_T0-T1" target="merge/a/doc#t_SPK0_T1-T2" label="Ordering/annis/dipl">
        </edge>
        <edge id="e27" source="merge/a/doc#t_SPK0_T1-T2" target="merge/b/doc#t_SPK0_T2-T3" label="Ordering/annis/dipl">
        </edge>
        <edge id="e28" source="merge/a/doc#t_SPK0_T3-T4" target="merge/b/doc#t_SPK0_T5-T7" label="Ordering/annis/dipl">
        </edge>
        <edge id="e29" source="merge/a/doc#t_SPK0_T4-T5" target="merge/a/doc#t_SPK0_T5-T6" label="Ordering/annis/dipl">
        </edge>
        <edge id="e30" source="merge/b/doc#t_SPK0_T2-T3" target="merge/b/doc#t_SPK0_T3-T4" label="Ordering/annis/dipl">
        </edge>
        <edge id="e31" source="merge/b/doc#t_SPK0_T3-T4" target="merge/a/doc#t_SPK0_T3-T4" label="Ordering/annis/dipl">
        </edge>
        <edge id="e32" source="merge/b/doc#t_SPK0_T5-T7" target="merge/a/doc#t_SPK0_T4-T5" label="Ordering/annis/dipl">
        </edge>
        <edge id="e33" source="merge/a/doc#t_SPK1_T0-T1" target="merge/a/doc#t_SPK1_T1-T2" label="Ordering/annis/norm">
        </edge>
        <edge id="e34" source="merge/a/doc#t_SPK1_T1-T2" target="merge/b/doc#t_SPK1_T2-T3" label="Ordering/annis/norm">
        </edge>
        <edge id="e35" source="merge/a/doc#t_SPK1_T3-T4" target="merge/b/doc#t_SPK1_T5-T6" label="Ordering/annis/norm">
        </edge>
        <edge id="e36" source="merge/a/doc#t_SPK1_T4-T5" target="merge/a/doc#t_SPK1_T5-T6" label="Ordering/annis/norm">
        </edge>
        <edge id="e37" source="merge/b/doc#t_SPK1_T2-T3" target="merge/b/doc#t_SPK1_T3-T4" label="Ordering/annis/norm">
        </edge>
        <edge id="e38" source="merge/b/doc#t_SPK1_T3-T4" target="merge/a/doc#t_SPK1_T3-T4" label="Ordering/annis/norm">
        </edge>
        <edge id="e39" source="merge/b/doc#t_SPK1_T5-T6" target="merge/a/doc#t_SPK1_T4-T5" label="Ordering/annis/norm">
        </edge>
        <edge id="e40" source="merge/a" target="merge" label="PartOf/annis/">
        </edge>
        <edge id="e41" source="merge/a/doc" target="merge/a" label="PartOf/annis/">
        </edge>
        <edge id="e42" source="merge/b" target="merge" label="PartOf/annis/">
        </edge>
        <edge id="e43" source="merge/a/doc#T0" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e44" source="merge/a/doc#T1" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e45" source="merge/a/doc#T3" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e46" source="merge/a/doc#T4" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e47" source="merge/a/doc#T5" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e48" source="merge/a/doc#t_SPK0_T0-T1" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e49" source="merge/a/doc#t_SPK0_T1-T2" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e50" source="merge/a/doc#t_SPK0_T2-T3" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e51" source="merge/a/doc#t_SPK0_T3-T4" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e52" source="merge/a/doc#t_SPK0_T4-T5" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e53" source="merge/a/doc#t_SPK0_T5-T6" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e54" source="merge/a/doc#t_SPK1_T0-T1" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e55" source="merge/a/doc#t_SPK1_T1-T2" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e56" source="merge/a/doc#t_SPK1_T2-T3" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e57" source="merge/a/doc#t_SPK1_T3-T4" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e58" source="merge/a/doc#t_SPK1_T4-T5" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e59" source="merge/a/doc#t_SPK1_T5-T6" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e60" source="merge/b/doc#T2" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e61" source="merge/b/doc#T3" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e62" source="merge/b/doc#T5" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e63" source="merge/b/doc#t_SPK0_T2-T3" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e64" source="merge/b/doc#t_SPK0_T3-T4" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e65" source="merge/b/doc#t_SPK0_T5-T7" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e66" source="merge/b/doc#t_SPK1_T2-T3" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e67" source="merge/b/doc#t_SPK1_T3-T4" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e68" source="merge/b/doc#t_SPK1_T5-T6" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e69" source="merge/a/doc#diff-span2" target="merge/a/doc" label="PartOf/annis/">
        </edge>
        <edge id="e70" source="merge/a/doc#diff-span5" target="merge/a/doc" label="PartOf/annis/">
        </edge>
    </graph>
</graphml>
---- doc.exb:
<?xml version="1.0" encoding="UTF-8"?>
<basic-transcription>
  <head>
    <meta-information>
      <project-name/>
      <transcription-name/>
      <ud-meta-information>
        <ud-information attribute-name="SPK0::abbreviation">dipl</ud-information>
        <ud-information attribute-name="SPK1::abbreviation">norm</ud-information>
      </ud-meta-information>
      <comment/>
      <transcription-convention/>
    </meta-information>
    <speakertable>
      <speaker id="diff">
        <abbreviation>diff</abbreviation>
        <sex value="u"/>
        <languages-used/>
        <l1/>
        <l2/>
        <ud-speaker-information/>
        <comment/>
      </speaker>
      <speaker id="dipl">
        <abbreviation>dipl</abbreviation>
        <sex value="u"/>
        <languages-used/>
        <l1/>
        <l2/>
        <ud-speaker-information/>
        <comment/>
      </speaker>
      <speaker id="norm">
        <abbreviation>norm</abbreviation>
        <sex value="u"/>
        <languages-used/>
        <l1/>
        <l2/>
        <ud-speaker-information/>
        <comment/>
      </speaker>
    </speakertable>
  </head>
  <basic-body>
    <common-timeline>
      <tli id="T0" time="0"/>
      <tli id="T1" time="1"/>
      <tli id="T2" time="2"/>
      <tli id="T3" time="3"/>
      <tli id="T4" time="4"/>
      <tli id="T5" time="5"/>
      <tli id="T6" time="6"/>
      <tli id="T7" time="7"/>
      <tli id="T8" time="8"/>
    </common-timeline>
    <tier speaker="dipl" category="dipl" type="t" id="TIER2" display-name="dipl[dipl]">
      <event start="T0" end="T1">dis</event>
      <event start="T1" end="T2">is</event>
      <event start="T2" end="T3">very</event>
      <event start="T3" end="T4">good</event>
      <event start="T4" end="T5">stuff</event>
      <event start="T5" end="T6">rihere</event>
      <event start="T6" end="T7">here</event>
      <event start="T7" end="T8">.</event>
    </tier>
    <tier speaker="norm" category="norm" type="t" id="TIER7" display-name="norm[norm]">
      <event start="T0" end="T1">This</event>
      <event start="T1" end="T2">is</event>
      <event start="T2" end="T3">very</event>
      <event start="T3" end="T4">good</event>
      <event start="T4" end="T5">stuff</event>
      <event start="T5" end="T6">right</event>
      <event start="T6" end="T7">here</event>
      <event start="T7" end="T8">.</event>
    </tier>
    <tier speaker="diff" category="op" type="a" id="TIER8" display-name="diff[op]">
      <event start="T2" end="T4">replaced</event>
      <event start="T5" end="T6">inserted</event>
    </tier>
  </basic-body>
</basic-transcription>
---- doc.txt:
This
is
very
good
stuff
right
here
.
