SuperNode.from_yaml#

SuperNode.from_yaml(file_path)[source]#

Creates a node from a YAML file. The YAML file should have keys that are the same as the attributes of the SuperNode object (i.e. name, value, id, etc.).

Parameters:

file_path (str) – Path to the YAML file.