Hello,

I am trying to build a heterograph with multiple node types and multiple edge types and with weighted edges.

This answer How to build a weighted graph in dgl? helps me to convert from a networkx weighted graph to a dgl graph for a single edge type, but I don’t know how to then assign it to a heterograph, specifying the node types and edge type.

Any help would be greatly appreciated!

Best regards,

Anna