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

Allow adding markup to elements #8

Open
chfin opened this issue Sep 5, 2024 · 0 comments
Open

Allow adding markup to elements #8

chfin opened this issue Sep 5, 2024 · 0 comments

Comments

@chfin
Copy link
Member

chfin commented Sep 5, 2024

In the annotation tool, allow the user to add some form of markup to notes, slices, and edges.

The simplest idea would be to add custom CSS classes that can be styled independently. This would make it much easier to derive a figure from the annotation by adding CSS to the exported SVG. A certain set of classes (e.g. colors, highlighted, "muted") could be predefined in both the annotation tool and the viewer, without the need to define custom styles to see the classes.

This extra information would be stored as a dictionary in a separate top-level key of the JSON file, so that it's easy to ignore. This section could also be used to specify general settings, e.g. the default settings for the viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant