please, is it possible to get the source nodes of a heterogeneous graph which has different nodes and edges types?
this is my graph:
G = dgl.heterograph({
('user', 'rates', 'item') : M.nonzero(),
('item', 'rated_by', 'user') : M.transpose().nonzero(),
('user', 'follows', 'user'): M2.nonzero()})
And thank you in advance.