datagov-cz / mission-control

Tento repozitář je udržován v rámci projektu OPZ č. CZ.03.4.74/0.0/0.0/15_025/0013983.
MIT License
2 stars 1 forks source link

[#126] Added feature to display vocabulary dependencies within workspace #161

Closed karelklima closed 3 years ago

karelklima commented 3 years ago

I consider this the first draft of the vocabulary dependencies feature, we can adjust the visuals later when we have more use cases of how users edit vocabularies within workspaces.

For now the network graph is interactive, we may add e.g. navigation to a read-only version of particular vocabulary on click.

Preview: image

Resolves #126.

psiotwo commented 3 years ago

The blue nodes seem to correspond to the WS vocabularies and the yellow ones to those which are not in the WS. Would propose to visually align the list of vocabularies and the graph (e.g. to keep the vocabularies in WS white in both component.

karelklima commented 3 years ago

The blue nodes seem to correspond to the WS vocabularies and the yellow ones to those which are not in the WS. Would propose to visually align the list of vocabularies and the graph (e.g. to keep the vocabularies in WS white in both component.

Good idea. I changed the color to white: image

I was thinking about bringing more structure to the graph, i.e. display LSGoV vocabularies on the same level vertically (basically display the hierarchy), but it's not that straightforward to do and I'd like to see more use cases before spending more time on that feature.