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

Method update

pattern/graph/__init__.py:520–524  ·  view source on GitHub ↗

Graph.layout.update() is called the given number of iterations.

(self, iterations=10, **kwargs)

Source from the content-addressed store, hash-verified

518 return partition(self)
519
520 def update(self, iterations=10, **kwargs):
521 """ Graph.layout.update() is called the given number of iterations.
522 """
523 for i in range(iterations):
524 self.layout.update(**kwargs)
525
526 def draw(self, weighted=False, directed=False):
527 """ Draws all nodes and edges.

Callers 7

__init__Method · 0.45
_add_node_copyMethod · 0.45
_add_edge_copyMethod · 0.45
updateMethod · 0.45
renderFunction · 0.45
exportFunction · 0.45
graph.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected