Box selection plugin for NetV.js(http://netv.zjuvag.org/)
Create boxSelection handler
netv: NetV
: pass core NetV objectconfigs: {}
: key-value pair configsenable: bool
: default enable box-selection or notboxStyle: {}
: selection box's style (below is supported attribute and their default value)fill
:rgba(200, 200, 200, 0.2)
,stroke
:black
,stroke-width
:1
,stroke-dasharray
:[]
Dispose boxSelection handler, clean related DOM element
Manually enable box selection.
Manually disable box selection.
Set callback function, the callback can get selected nodes in NetV's Node type.