def METHOD_NAME(self, input_edges, node:str, type:str, log_str:str = None):
    self.node_info_map[node] = [self.topo_idx, type, input_edges, log_str]
    self.node_attr_map[node] = {}
    self.topo_idx += 1