Lattice-Automation/seqviz

Allow for custom labels in circular view

algarsi3 opened this issue · 0 comments

  • Summarize your feature idea. (Why)

Currently, labels from the circular view are all the same:
imagen

It would be awesome if those labels could be customized. For instance:
imagen

  • Describe your preferred solution. (What)

Maybe add an additional prop to the AnnotationProp called style, which would be applied to the corresponding label in the circular view. E.g.:

{
  "start": 1160,
  "end": 1192,
  "name": "Zinc finger - Matrin-type",
  "direction": 1,
  "style": {
    fontWeight: "bold",
    fontSize: "larger"
  }
}