Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph view widget for classes #115

Open
Pooya-Oladazimi opened this issue Aug 2, 2024 · 4 comments
Open

Graph view widget for classes #115

Pooya-Oladazimi opened this issue Aug 2, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Pooya-Oladazimi
Copy link
Collaborator

TSS does not support graph view for class relations.

Is there any plan to add it or is it not needed?

Example:

Class: https://terminology.tib.eu/ts/ontologies/vibso/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000070&obsoletes=false&subtab=graph

Skos term: https://terminology.tib.eu/ts/ontologies/uat/individuals?iri=http%3A%2F%2Fastrothesaurus.org%2Fuat%2F89&subtab=graph

@Pooya-Oladazimi Pooya-Oladazimi added enhancement New feature or request question Further information is requested labels Aug 2, 2024
@rombaum
Copy link
Collaborator

rombaum commented Oct 11, 2024

At the moment there is no graph view widget. But it would be meaningful to add one. We are not happy with the old version of OLS. We didn't spot a good library for this yet. It would be meaningful to collect requirements and also possible candidates. We could discuss that on Monday in our group meeting. 😉

@theArsalanM also is interested in using such a widget for the new frontend of ChEBI. The graph view there currently looks like this:

grafik

graph view of water

One possible candidate could be this libary yFiles

Do you know about any plans at the TIB?

@Pooya-Oladazimi
Copy link
Collaborator Author

@rombaum

The one that I shared its link is our own implementation in TIB and not the ols one. It is a wrapper for this JS library: https://visjs.org/

@rombaum
Copy link
Collaborator

rombaum commented Oct 11, 2024

@theArsalanM & @CarMoreno would this fit for you? It think you would be also interested in the path from the root, aren't you? Could you maybe add some requirements from your side?

grafik

graph view of water(ChEBI) at NFDI4Chem TS

@Pooya-Oladazimi Pooya-Oladazimi self-assigned this Oct 14, 2024
@theArsalanM
Copy link

theArsalanM commented Oct 14, 2024

Thanks a lot for working on this @rombaum and team. I've discussed this with our ChEBI curator @amalik01 and came up with following details.

Our basic requirements are that we want a graph that shows all of the is_a relationships from a desired ChEBI entry to the root class e.g chemical entity, role or subatomic particle in case of ChEBI. If the graph can include other ontology relationship types (E.g. has part, has functional parent etc) that would be great.

  • Each term in the graph will have have a ChEBI name and ChEBI ID. Would be great if we customise the label to display ID and name as CHEBI:XXX <name>.
  • The ability to manually adjust the graph if overlapping occurs.
  • The relationship type between the different terms are shown.
  • The terms in the graph should be clickable, leading the user to the ChEBI page of that term.

In the current ChEBI, we have different graph views (simplified, full and personalised). The full view shows the complete hierarchy. The simplified view hides some of the parent classes and therefore the arrows appear thicker in case users want to see the missing relationships. The personalised view enables users to delete the classes they are not interested in and create their own customised version of the graph. Although it would be great to have these features, they are not critical. As a basic starting point, we are only interested in the full view which shows the complete hierarchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants