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

Method __init__

code2flow/model.py:451–458  ·  view source on GitHub ↗
(self, node0, node1)

Source from the content-addressed store, hash-verified

449
450class Edge():
451 def __init__(self, node0, node1):
452 self.node0 = node0
453 self.node1 = node1
454
455 # When we draw the edge, we know the calling function is definitely not a leaf...
456 # and the called function is definitely not a trunk
457 node0.is_leaf = False
458 node1.is_trunk = False
459
460 def __repr__(self):
461 return f"<Edge {self.node0} -> {self.node1}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected