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

Render an SVG in an annotation #229

Open
leshane opened this issue Sep 16, 2023 · 0 comments · May be fixed by #248
Open

Render an SVG in an annotation #229

leshane opened this issue Sep 16, 2023 · 0 comments · May be fixed by #248
Assignees
Labels
enhancement New feature or request needs spec

Comments

@leshane
Copy link
Contributor

leshane commented Sep 16, 2023

Summary of then feature idea. (Why)

I want to be able to render an icon beside the name in an annotation. Some annotations cover sequences that have an identified biological function that can be represented by a symbolic graphic (e.g. SBOL visual).

Description of the ideal solution. (What)

  • I can pass an SVG specification for a icon as a parameter to an annotation, similar to the way I pass a text string for a name as a parameter to an annotation.
  • Like name, a icon is an optional parameter.
  • If the icon parameter has an SVG value, SeqViz should display the designated icon to the left of the annotation name.
  • The icon and name combination should be centered in the annotation
  • If no icon is provided, the name alone should be centered in the annotation.

Conceptual mock

Screenshot 2023-09-16 at 3 31 33 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs spec
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants