Skip to content

Version 0.3.0

Compare
Choose a tag to compare
@buehlefs buehlefs released this 22 Nov 14:00
· 149 commits to master since this release

Known Issue: this version was compiled using typescript 3.7!
The resulting .d.ts are only compatible with typescript versions >= 3.6. See typescript 3.7 release notes for more information.

Added

  • Added Edge.markerStart
  • Added data-line-attachement-point to marker templates to specify where an edge attaches to the marker if the marker is an end marker
  • Added dynamic templates for Nodes, Markers,TextComponents and LinkHandles
  • Added dynamic template registry
  • Added static template registry
  • Consolidated positioning for all objects placed along an edge (markers and text components)
  • Added rotation to text components
  • Added rotation to link handles
  • Added EdgePathGenerator and EdgePathGeneratorRegistry

Deprecated

  • Deprecated Marker.rotate. Use Marker.absoluteRotation and Marker.relativeRotation instead.

Incompatible changes

  • Removed Marker.lineOffset. Use data-line-attachement-point in marker template instead.
  • Removed TextComponent.class. Use custom dynamic templates instead.
  • All text components are wrapped in a <g> element. This will break some css styles!