[[instructions]]
do = "add"
nodes = ["a", "b"]
node_type = "corpus"

[[instructions]]
do = "add"
nodes = ["a"]
anno = "annis::doc"
value = "a"

[[instructions]]
do = "add"
nodes = ["b"]
anno = "annis::doc"
value = "b"

[[instructions]]
do = "add"
nodes = ["a#t1", "a#t2", "b#t1", "b#t2"]

[[instructions]]
do = "add"
edges = [
    { source = "a#t1", target = "a"},
    { source = "a#t2", target = "a"},
    { source = "b#t1", target = "b"},
    { source = "b#t2", target = "b"}
]
component = { ctype = "PartOf", layer = "annis", name = "" }

[[instructions]]
do = "add"
edges = [{ source = "a#t2", target = "a#t1"}]
component = { ctype = "Pointing", layer = "", name = "dep" }

[[instructions]]
do = "add"
edges = [{ source = "a#t2", target = "a#t1"}]
component = { ctype = "Pointing", layer = "", name = "dep" }
anno = "default_ns::deprel"
value = "subj"

### now revert

[[instructions]]
do = "rm"
edges = [{ source = "a#t2", target = "a#t1"}]
component = { ctype = "Pointing", layer = "", name = "dep" }
annos = ["default_ns::deprel"]

[[instructions]]
do = "rm"
edges = [{ source = "a#t2", target = "a#t1"}]
component = { ctype = "Pointing", layer = "", name = "dep" }

[[instructions]]
do = "rm"
edges = [
    { source = "a#t1", target = "a"},
    { source = "a#t2", target = "a"},
    { source = "b#t1", target = "b"},
    { source = "b#t2", target = "b"}
]
component = { ctype = "PartOf", layer = "annis", name = "" }

[[instructions]]
do = "rm"
nodes = ["a#t1", "a#t2", "b#t1", "b#t2"]

[[instructions]]
do = "rm"
nodes = ["a", "b"]
annos = ["annis::doc"]

[[instructions]]
do = "rm"
nodes = ["a", "b"]
