Quantcast
Channel: ComponentSource News | Components
Viewing all articles
Browse latest Browse all 12838

jsPlumb Toolkit v5.9.0

$
0
0
jsPlumb Toolkit

Improves 'SurfaceDropManager' and 'DropManager' classes.

Features

  • Enhancements have been made to the SurfaceDropManager and DropManager classes:
    • When an element is being dragged to a Surface the element is now automatically scaled so that it matches the current zoom of the Surface. This allows users to better understand how their UI will look after they've dropped the element.
    • If the Surface has a 'constrainFunction' limiting where elements can be dragged to, the drop managers will now, by default, use this function to restrict where elements can be dragged.
    • You can now supply an 'elementGenerator' for the Toolkit to use to get an element to drag onto a Surface, instead of cloning the element from the palette.
  • Other improvements include:
    • The underlying Community edition no longer uses a 'div' element to wrap the SVG element that represents an endpoint.
    • The 'jtk-endpoint' element has been updated to no longer require that a 'data-jtk-port' attribute be set. This enables you to declaratively register multiple endpoints that are mapped to the vertex itself in the data model rather than on logical ports on the vertex.

Viewing all articles
Browse latest Browse all 12838

Latest Images

Trending Articles



Latest Images