<?xml version="1.0" encoding="UTF-8"?>
<flow>
    <nodes>
        <node id="a" class="com.yomahub.liteflow.test.component.cmp1.ACmp"/>
        <node id="b" class="com.yomahub.liteflow.test.component.cmp1.BCmp"/>
        <node id="c" class="com.yomahub.liteflow.test.component.cmp1.CCmp"/>
        <node id="d" class="com.yomahub.liteflow.test.component.cmp1.DCmp"/>
        <node id="e" class="com.yomahub.liteflow.test.component.cmp1.ECmp"/>
        <node id="f" class="com.yomahub.liteflow.test.component.cmp2.FSwitchCmp"/>
        <node id="g" class="com.yomahub.liteflow.test.component.cmp1.GCmp"/>
        <node id="h" class="com.yomahub.liteflow.test.component.cmp1.HCmp"/>
    </nodes>

    <chain name="chain1">
        THEN(a);
    </chain>

    <chain name="chain2">
        THEN(b);
    </chain>

    <chain name="chain3">
        THEN(c);
    </chain>

    <chain name="chain4">
        THEN(a, d, c);
    </chain>

    <chain name="chain5">
        THEN(a, e, c);
    </chain>

    <chain name="chain6">
        SWITCH(f).to(d, c, b);
    </chain>

    <chain name="chain7">
        THEN(g, h);
    </chain>
</flow>