Skip to content

Add a parameter option to the GraphViewWidget #315

@rombaum

Description

@rombaum

Is your feature request related to a problem? Please describe.
I wanted to show the label(s) of the entities in the GraphViewWidget in a different language than English.

Describe the solution you'd like
We should integrate the key parameter where we could add multiple parameters such as lang. It is already implemented in the hierarchy widget. (see: https://terminology.services.base4nfdi.de/tss/comp/latest/?path=/story/react_hierarchy-and-graph-hierarchywidget--ols-german)

In the storybook it would look like this:
Image

Additional context
I was testing it with the OhdAB incubator and the corresponding vocabulary. In a first step there where no German label and the hierarchy looks like this:

Image

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions