Node - #activity#call_sub_tree
- For Xmind ChatTree, the first line of the node content must be "#activity#call_sub_tree", and then the content of the second line is the name of the subtree (also a ChatTree), such as:
#activity#call_sub_tree
... - For Python ChatTree, the first parameter of chattree.create_node() must be "#activity#call_sub_tree", the key in the second parameter dict is "sub_tree", and the value is the name of the subtree (also a ChatTree, str type), such as:
call_sub_tree_node = chattree.create_node("#activity#call_sub_tree", {
"sub_tree": "......",
}) - Immediately call a sub-ChatTree for execution, and then return to the current node to continue execution after subtree execution is completed
- Different types of ChatTrees (those created based on Python and those created based on Xmind) can call each other
- There is this node in the "TMC" ChatTree example in "ChatTree Examples"