MCPcopy Create free account
hub / github.com/Persper/code-analytics / _new_graph

Method _new_graph

persper/analytics/call_commit_graph.py:44–47  ·  view source on GitHub ↗

Create a new nx.DiGraph for underlying storage with appropriate arguments

(self)

Source from the content-addressed store, hash-verified

42 self._digraph = self._new_graph()
43
44 def _new_graph(self):
45 """Create a new nx.DiGraph for underlying storage
46 with appropriate arguments"""
47 return nx.DiGraph(commits={})
48
49 # Read-only access
50 def nodes(self, data=False):

Callers 2

__init__Method · 0.95
resetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected