TreeNode.from_data
- classmethod TreeNode.from_data(data)[source]
Construct an object of this type from the provided data.
- Parameters:
- datadict
The data dictionary.
- Returns:
compas.data.Data
An instance of this object type if the data contained in the dict has the correct schema.