Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Permify/permify
/ AddEdge
Method
AddEdge
pkg/development/graph/graph.go:48–53 ·
view source on GitHub ↗
AddEdge - Add edge to graph
(from, to *Node)
Source
from the content-addressed store, hash-verified
46
47
// AddEdge - Add edge to graph
48
func
(g *Graph) AddEdge(from, to *Node) {
49
g.edges = append(g.edges, &Edge{
50
From: from,
51
To: to,
52
})
53
}
Callers
3
EntityToGraph
Method · 0.80
buildPermissionGraph
Method · 0.80
addEdgeFromRelation
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected