Skip to content
Discussion options

You must be logged in to vote

I think a good way to store your data is as a pair of graphs in a Data object as described here, for pairs without a label you could store some dummy value.

A HeretogenousData object is built to store a graph with different node and edge types, as described here. So in the code you pasted this line data['G1'].edge_index = graph1.edge_index indicates that an edge is being created from node type G1 to node type 1 (1 as you didn't specify the other node type).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bjfranks
Comment options

Answer selected by bjfranks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants