<?xml version="1.0" encoding="UTF-8"?>
<flow>
    <nodes>
        <node id="a" class="com.yomahub.liteflow.test.tag.cmp.ACmp"/>
        <node id="b" class="com.yomahub.liteflow.test.tag.cmp.BCmp"/>
        <node id="b1" class="com.yomahub.liteflow.test.tag.cmp.B1Cmp"/>
        <node id="c" class="com.yomahub.liteflow.test.tag.cmp.CCmp"/>
        <node id="d" class="com.yomahub.liteflow.test.tag.cmp.DCmp"/>
        <node id="e" class="com.yomahub.liteflow.test.tag.cmp.ECmp"/>
        <node id="f" class="com.yomahub.liteflow.test.tag.cmp.FCmp"/>
        <node id="g" class="com.yomahub.liteflow.test.tag.cmp.GCmp"/>
    </nodes>
    <chain name="chain1">
        THEN(a.tag("1"), a.tag("2"), a.tag("3"));
    </chain>

    <chain name="chain2">
        THEN(a.tag("1"), a.tag("2"), a.tag("3"), SWITCH(c.tag("2")).to(d.tag("5"), e.tag("6")));
    </chain>

    <chain name="chain3">
        THEN(b1, WHEN(b.tag("1"), b.tag("2"), b.tag("3")));
    </chain>

    <chain name="chain4">
        THEN(f.tag("false"), g);
    </chain>
</flow>