the origin list data with parentKey
the key name of the node in the tree structure,default value is KEY_NAME='key'
the child key name of the child node in the tree structure,default value is CHILDREN_NAME='children'
the parent key name of the node in the tree structure,default value is PARENT_KEY_NAME='parentKey'
Generated using TypeDoc
transform list data to tree data
Example