Open cbizon opened 4 years ago
It doesn't seem like I have many more choices in regards to how it orders nodes in the hierarchical view. Right now, the graph is set to "directed" ordering, but I don't think we want hubsize. You can check the documentation here to see what options we have: https://visjs.github.io/vis-network/docs/network/layout.html#
I wonder if it's because the edges are directed, so it sees both the blue and red nodes as equal children of the green node. I agree, those options don't give much obvious to play with.
The hierarchical layout does this funny thing sometimes:
Given this question:![image](https://user-images.githubusercontent.com/10744350/80371700-4f7c3700-8860-11ea-9d0b-9802e51cb955.png)
we get this answer
but the hiearchical layout is muddling the order. The original question is a line going diseaes-gene-chemical, but the answer is drawn as disease-chemical-gene.