intermine / bluegenes-go-concept-relation

MIT License
0 stars 5 forks source link

Show tooltip on node click or hover #4

Closed heralden closed 4 years ago

heralden commented 4 years ago

Clicking or hovering over a gene or GO term should open a tooltip (or perhaps a window adjacent to the graph) with additional data on that gene or GO term.

Check the data returned by the existing query which is used to produce the GO terms. It should contain additional data on the GO term which you can display in the tooltip. To also get a description of the GO term, add goAnnotation.ontologyTerm.description as an additional select (see src/query.js).

For the tooltip for a gene node, the following keys can be enough to begin with: 'id','symbol','secondaryIdentifier','primaryIdentifier','organism.shortName'. They should already be present in the query.

Note: I will assign this to @Sakshisrivastava413 as she approached me about this feature first.

Sakshisrivastava413 commented 4 years ago

I would like to work on this issue. Thanks for the mentions. :)