edge representation of directed graph
Closed this issue · 2 comments
Elizabeth1997 commented
❓ Questions & Help
Hi @rusty1s , if one directed graph's edge index is presented by this
edge_index = torch.tensor([[0, 1], [1, 2]], dtype=torch.long)
Does it mean there is an edge from node 0 pointing to node 1 or node 1 pointing to node 0?
rusty1s commented
An edge from node 0 pointing to node 1, and an edge from node 1 pointing to node 2.
Elizabeth1997 commented
Got it. Many thanks for your reply :)