MCPcopy Index your code
hub / github.com/clips/pattern / append

Method append

pattern/graph/__init__.py:210–213  ·  view source on GitHub ↗
(self, node, edge=None)

Source from the content-addressed store, hash-verified

208 self.edges = dict()
209
210 def append(self, node, edge=None):
211 if node.id not in self.edges:
212 list.append(self, node)
213 self.edges[node.id] = edge
214
215 def remove(self, node):
216 list.remove(self, node)

Callers 11

add_nodeMethod · 0.45
add_edgeMethod · 0.45
partitionFunction · 0.45
cliqueFunction · 0.45
cliquesFunction · 0.45
_dataMethod · 0.45
_scriptMethod · 0.45
graph.jsFile · 0.45
downloadFunction · 0.45
jsonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected