Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/GraphScope
/ has_predecessor
Method
has_predecessor
python/graphscope/nx/classes/digraph.py:325–326 ·
view source on GitHub ↗
(self, u, v)
Source
from the content-addressed store, hash-verified
323
@clear_mutation_cache
324
@patch_docstring(RefDiGraph.has_predecessor)
325
def
has_predecessor(self, u, v):
326
return
self.has_edge(v, u)
327
328
@clear_mutation_cache
329
@patch_docstring(RefDiGraph.successors)
Callers
nothing calls this directly
Calls
1
has_edge
Method · 0.80
Tested by
no test coverage detected