asyml / stave

An extensible framework for building visualization and annotation tools to enable better interaction with NLP and Artificial Intelligence. This is part of the CASL project: http://casl-project.ai/
https://asyml.io
Apache License 2.0
49 stars 18 forks source link

Add support to `MultiPack` #229

Open mylibrar opened 2 years ago

mylibrar commented 2 years ago

Is your feature request related to a problem? Please describe. Stave can only support visualization of DataPack. We should extend its support to MultiPack.

Describe the solution you'd like A MultiPack is a collection of multiple DataPacks, and we need to provide some interfaces for user to specify a DataPack for visualization. A drop down menu/list can be added to select DataPack based on its reference name in MultiPack.

Describe alternatives you've considered Other design for DataPack selection can be accepted.

Additional context It's better to include some test cases for MultiPack rendering.