FormDiagram.from_data
-
classmethod
FormDiagram.from_data(data) Construct a datastructure from structured data.
- Parameters
data (dict) – The data dictionary.
- Returns
compas.datastructures.Datastructure– An object of the type ofcls.
Notes
This constructor method is meant to be used in conjunction with the corresponding to_data method.