MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / get_label

Method get_label

memory_graph/node_table.py:79–84  ·  view source on GitHub ↗

Return a label for the node to be shown in the graph next to the HTML table.

(self, slices)

Source from the content-addressed store, hash-verified

77 html_table.add_dots()
78 html_table.add_new_line()
79 first_col = True
80 else:
81 child = children[index]
82 html_table.add_entry(self, nodes, child, id_to_slices, dashed=slices.is_dashed(index))
83
84 def get_label(self, slices):
85 """
86 Return a label for the node to be shown in the graph next to the HTML table.
87 """

Callers

nothing calls this directly

Calls 3

get_childrenMethod · 0.80
get_type_nameMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected