Skip to content

v2.0.4

Compare
Choose a tag to compare
@bkrem bkrem released this 23 Jun 18:33
· 94 commits to master since this release
  • fix(zoomable): allows for dragging without scaling if props.zoomable is set to false.
  • fix(ts): widens type for RawNodeDatum["attributes"] (#350)
    • attributes was made unintentionally restrictive during the v2 refactor to Typescript, by moving from a loose implicit object type to Record<string,string>.
    • This change widens the used Record type to additionally accept number and boolean primitives as possible values.
    • See the RawNodeDatum docs for more details.