--- title: getData name: node-functions-getdata --- **function getData(include_parent = false);** Get the subtree of this node. **include_parent** * **true**: include node and children * **false**: only include children (default) {% highlight js %} var data = node.getData(); {% endhighlight %}