Skip to content

bracket annotation support - #50

Merged
pshihn merged 1 commit into
masterfrom
brackets
Jun 23, 2020
Merged

bracket annotation support#50
pshihn merged 1 commit into
masterfrom
brackets

Conversation

@pshihn

@pshihn pshihn commented Jun 23, 2020

Copy link
Copy Markdown
Collaborator

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

1 participant