Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/GraphScope
/ reverse_view
Function
reverse_view
python/graphscope/nx/classes/graphviews.py:100–104 ·
view source on GitHub ↗
(G)
Source
from the content-addressed store, hash-verified
98
99
@not_implemented_for(
"undirected"
)
100
def
reverse_view(G):
101
newG = generic_graph_view(G)
102
newG._succ, newG._pred = G._pred, G._succ
103
newG._adj = newG._succ
104
return
newG
Callers
1
reverse
Method · 0.90
Calls
1
generic_graph_view
Function · 0.85
Tested by
no test coverage detected