Skip to content

Conversation

@pshihn
Copy link
Collaborator

@pshihn pshihn commented Jun 23, 2020

Fixes #49

Added new annotation type 'bracket
By default it renders a bracket around the rectangle's right side.
Direction can be configured by optionally setting the brackets field in the config

const annotation = annotate(e, {
  type: 'bracket',
  color: 'red', 
  brackets: ['left', 'right']
})

@pshihn pshihn merged commit 212bfa0 into master Jun 23, 2020
@pshihn pshihn deleted the brackets branch June 23, 2020 03:28
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.

Bracket annotation

2 participants