NCATS-Gamma / robokop

Master UI for ROBOKOP
MIT License
16 stars 3 forks source link

Does not show the direction of arrows connecting node of type named_thing #517

Closed Shalsh23 closed 4 years ago

Shalsh23 commented 4 years ago
Screen Shot 2020-06-24 at 12 16 11 PM

Also, is there a way to say that the direction of the arrow does not matter, and results with arrows going both ways should be furnished?

patrickkwang commented 4 years ago

Regarding undirected edges, I believe that ROBOKOP ignores the edge direction IFF there is no predicate defined for the edge.

patrickkwang commented 4 years ago

Is the same true for displaying edges, @maximusunc?

maximusunc commented 4 years ago

In the UI, if an edge doesn't have a predicate, we don't show the arrows. If you were to add a predicate to one of the edges attached to the named_thing, it would then show a directed arrow. Like Patrick mentioned, the backend treats all non-predicated edges as bidirectional. Please reopen if that doesn't answer your questions!