Tree - Animate

Node expand and collapse events can be animated.

<h:form>
    <p:tree value="#{treeBasicView.root}" var="node" animate="true">
        <p:treeNode>
            <h:outputText value="#{node}" />
        </p:treeNode>
    </p:tree>
</h:form>