Graph.from_data

classmethod Graph.from_data(data)

Construct an object of this type from the provided data.

Parameters

data (dict) – The data dictionary.

Returns

compas.data.Data – An object of the type of cls.