Maintenance release
This release does not contain any significant new functionality. It's basically just a consolidation of refactorings made in order to clean up the code and increase the code coverage. A few very minor internal changes and fixes are included, but they are probably not noticeable for a normal user.
Changes
- The temporary svg used for data extraction is generated in a Document Fragment.
- The first data post processing stage has been separated from the data extraction stage.
- Added data processing pass 1 & 2 events.
- Handle arbitrary event type name length in event logging.
- Removed test environment workarounds from the production code and replaced them with jsdom polyfills in the test environment.
Fixes
- Corrected the removal of the style attribute (containing the opacity property) from top level g after fade in when zooming was enabled. No visible difference to the user though.
- Corrected interpolation used during transitioned zoom reset.
- Handle onerror also when a web worker is not available. Essentially this is for test purposes only, since d3-graphviz requires a modern browser, where web workers are available.
- Fixed renderEnd event logging when no transition is used, by not trying to access the non-existent transition. Fixes #33.
- Corrected keyMode "title" to use title from direct child only. Before this fix the top level svg got the key from the "g" child title instead of falling back to the tag-index key mode.