GraphShape.from_dict¶
- classmethod GraphShape.from_dict(hyper_edge_set_dict, non_fictitious)[source]¶
Builds a new GraphShape object from a hyper-edge set dictionary and registry.
- Parameters:
hyper_edge_set_dict (dict[str, HyperEdgeSet]) – Mapping from a hyper-edge set class name to a HyperEdgeSet instance.
non_fictitious (ndarray) – Optional numpy array whose last dimension indicates registry size.
- Returns:
New GraphShape instance.
- Return type: