Version 0.3.0
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
andEdgePathGeneratorRegistry
Deprecated
- Deprecated
Marker.rotate
. UseMarker.absoluteRotation
andMarker.relativeRotation
instead.
Incompatible changes
- Removed
Marker.lineOffset
. Usedata-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!