
Improves rendering pipeline to better integrate with Vue 3 and React 18.
Features
- 'Drag groups' have been extracted from 'Surface' and packaged into a separate plugin -
`@jsplumbtoolkit/browser-ui-plugin-drag-groups`
this contains the code that allows you to manage drag groups. - Several enhancements have been made to the rendering pipeline to better integrate with Vue 3 and React 18.
- Surface now fires
EVENT_RENDER_START
andEVENT_RENDER_END
at the beginning and end of the rendering of a set of data.EVENT_RENDER_END
does not fire until every vertex in the dataset has been rendered (taking into account asynchronous rendering). - Added support for 'template macros' to the
@jsplumbtoolkit/templates-2
package. This bringstemplates-2
up to par with@jsplumbtoolkit/templates
in terms of the complexity supported in injected values. - Updated ForceDirected layout to better support positioning of newly added nodes.