Skip to content

Conversation

@henryjameslau
Copy link
Contributor

Overhaul of annotations. Individual functions rewritten so that they add in an unique ID and a few more options e.g editable boolean.

I have created a wrapper function called addAnnotation which takes an annotation type and the rest of the options for that annotation.

Have made a function createAnnotationToolbar which allows you to place annotations with a mouse and edit text and other options. This is shown in the example. You can edit placement by reclicking. You can reclick on the text to edit the text placement options.

You can save annotations to a file, which can then be loaded with loadAnnotationsFromJson function.

@henryjameslau
Copy link
Contributor Author

Would close #256 I think as you could run annotations from the .json file which is equivalent.

@nrennie nrennie merged commit 657697b into main Jan 14, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants