Skip to content

endScale, wrapSplitter, and bug fixes

Compare
Choose a tag to compare
@susielu susielu released this 09 Oct 20:32
· 41 commits to master since this release

endScale, changing the size of the dot and the arrow

Adding another connector property called endScale that is a scaling multiplier for the dot and arrows at the end of connectors, { connector: { end: 'arrow', endScale: .8 } }
In response to this issue: #37

wrapSplitter, pass a custom modifier for wrapping text in notes

note: {
  label: " A different\n annotation type with long wrap",
  title: "Another title with a long wrap for testing",
  wrapSplitter: /\n/
}

Suggested by @mipac in this issue: #41

fix: lineType didn't have default color

Fix for this issue where the horizontal and vertical lines on notes didn't have default styling: #40