I have a heterograph on DGL with multiple node and edge types. I have visualized the graph schema with pygraphviz and I want to do something similar but with actual values. For example, for customer 0, all the relevant node index values would be there instead of node types. Is there any method to do the same?
The schema code:
dot = graphviz.Digraph()
for u, v, k in g.metagraph().edges(keys=True):
dot.edge(u, v, label=' '+k)
dot