hello,
Thanks very much! I have learned a lot from your work.
For your Function"rank_label_wrt_dict" at pscn.py, i have another thought.
We can make 'distance_to_root' and 'betweenness_centrality' as the attributes of nodes in subgraph.Then,the code like this:
hello, Thanks very much! I have learned a lot from your work. For your Function"rank_label_wrt_dict" at pscn.py, i have another thought. We can make 'distance_to_root' and 'betweenness_centrality' as the attributes of nodes in subgraph.Then,the code like this:
iterator = G.nodes(data=True) sorted(iterator,key=lambda item:(item[1]['distance_to_root'],-item[1]['betweenness_centrality']))
What do you think about this thought?Could you give me some advice.