Closed jiqicn closed 1 year ago
Proposal: add both edge and node table to the graph instance, this will make sure that all nodes will be assigned coordinates, even for nodes without any link to them.
This bug is caused by the inf weights of edges, which is due to the way of normalizing weight values. For now, I changed that to be a simple max normalization, but we may want to recompute the weights from the beginning, that is to scale the edge weights to be in [0, 1] scale in miner.
To reproduce
Cause
In the set_positions method of the explorer widget, the coordinates of the nodes are computed by calling the selected layoutting function of the networkx instance, which is created by the edge table. In case that table doesn't cover all the nodes, those not included will not be assigned coordinates, thus no positions to be added.