Skip to content

Commit

Permalink
Remove ID property from graph.Edge
Browse files Browse the repository at this point in the history
The internal representation of Edge has no ID as edges are best identified by their source and target nodes. Clients are also able to set whatever ID they find appropriate.
  • Loading branch information
vibridi committed Jun 21, 2024
1 parent ea733e9 commit a39a1a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion graph/edge.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package graph

type Edge struct {
ID string
// Identifier of this edge's source node
FromID string
// Identifier of this edge's target node
Expand Down

0 comments on commit a39a1a7

Please sign in to comment.