Search
DiagramAdapter.lassoDrawn Method
See Also
 

Raised when the user completes drawing a selection lasso.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void lassoDrawn (
    SelectionEvent e
)

 Parameters

e

A SelectionEvent providing information about the event.

 Remarks

This event is best used in conjunction with the DrawLasso behavior, which disables standard selection logic. Upon completing a lasso gesture, you might want to trigger immediate actions based on the lassoed area, such as:

  • Opening a custom context menu or UI panel styled for bulk operations.
  • Creating a visual screenshot / export of only that specific region.
  • Implementing custom selection logic or filters (e.g. select nodes of a specific type, or select only links).
  • Bookmarking the selected area (adding it to Bookmarks).

 See Also