MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / add_node

Method add_node

code2flow/model.py:539–547  ·  view source on GitHub ↗

Nodes are found after initialization. This is how they are added. :param node Node: :param is_root bool:

(self, node, is_root=False)

Source from the content-addressed store, hash-verified

537 self.subgroups.append(sg)
538
539 def add_node(self, node, is_root=False):
540 """
541 Nodes are found after initialization. This is how they are added.
542 :param node Node:
543 :param is_root bool:
544 """
545 self.nodes.append(node)
546 if is_root:
547 self.root_node = node
548
549 def all_nodes(self):
550 """

Callers 5

make_class_groupMethod · 0.95
make_class_groupMethod · 0.95
make_class_groupMethod · 0.95
make_class_groupMethod · 0.95
make_file_groupFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected