hatchet/graphframe.py
def parse_node_literal(child_dict, hparent):
            """Create node_dict for one node and then call the function
            recursively on all children.
            """

            hnode = Node(Frame({"name": child_dict["name"]}), hparent)

            node_dicts.append(
                dict(
                    {"node": hnode, "name": child_dict["name"]}, **child_dict["metrics"]
                )
            )
            hparent.add_child(hnode)

            if "children" in child_dict:
                for child in child_dict["children"]:
                    parse_node_literal(child, hnode)
Create node_dict for one node and then call the function
            recursively on all children.
            
Create node_dict for one node and then call the function
recursively on all children.
Create node_dict for one node and then call the function recursively on all children .
def parse_node_literal(child_dict, hparent):
            hnode = Node(Frame({"name": child_dict["name"]}), hparent)
            node_dicts.append(
                dict(
                    {"node": hnode, "name": child_dict["name"]}, **child_dict["metrics"]
                )
            )
            hparent.add_child(hnode)
            if "children" in child_dict:
                for child in child_dict["children"]:
                    parse_node_literal(child, hnode)
def parse_node_literal ( child_dict , hparent ) : hnode = Node ( Frame ( { "name" : child_dict [ "name" ] } ) , hparent ) node_dicts . append ( dict ( { "node" : hnode , "name" : child_dict [ "name" ] } , ** child_dict [ "metrics" ] ) ) hparent . add_child ( hnode ) if "children" in child_dict : for child in child_dict [ "children" ] : parse_node_literal ( child , hnode )
Create node_dict for one node and then call the function
recursively on all children.
Create node_dict for one node and then call the function recursively on all children .
"""Create node_dict for one node and then call the function
            recursively on all children.
            """
child_dict
hparent