cidgoh / ontotrek

A 3d ontology visualizer focusing on OBOFoundry.org ontologies
GNU General Public License v3.0
6 stars 0 forks source link

Other_parents items of some ontologies like ECOCORE create rendering problem #2

Closed ddooley closed 5 years ago

ddooley commented 5 years ago

Drawing links from some "other_parents" items to a given node, where the other parent in question hasn't been created yet I guess, creates an odd branch depth jump, ultimately resulting in much more spread out graph. It may arise when parent node has been deprecated and so hasn't been created in graph if switch to show deprecated items is off.

Code is in line 604 of common.js, around "// 3rd pass does secondary parent LINKS which could be to shallower nodes"