wimrijnders
90adc2f969
Network: Add pointer data to hover events ( #3128 )
Fix for #1222 .
This makes the passed data of events `hoverNode`, `hoverEdge`, `blurNode` and `blurEdge`
more conformant to the passed data of the click events. In particular, the following
fields are added to the event data:
```
event: [Object] original hover event,
pointer: {
DOM: {x:pointer_x, y:pointer_y},
canvas: {x:canvas_x, y:canvas_y}
}
```
The changes can be tested with example `network/events/InteractionEvents`.
7 years ago
Pat Sissons
e25db74b4b
replacing all ES6 imports with CJS require calls ( #3063 )
* replacing all ES6 imports with CJS require calls
resolves #2934
used the following regex to apply the changes in lib:
s/import\s+(\w+)\s+from\s+(.*);\s*$/var $1 = require($2).default;/
s/import\s+(\w+)\s+from\s+(.*)\s*$/var $1 = require($2).default;/
* cleaning up inconsistencies
7 years ago
wimrijnders
253e52a948
Fix #2994 : select edge with id zero ( #2996 )
7 years ago
Uli Fahrer
83cbc7786f
Fix missing blur edge event
7 years ago
Uli Fahrer
b136380655
Fix blur edge for dense networks ( #2124 )
8 years ago
root9B
d5e8a1410e
Select the closest edge, not just any nearby ( #1922 )
8 years ago
jos
1c7d5ebe5d
Upgraded to babel v6
8 years ago
Alex de Mulder
11888f255d
- Added #1138 , enable the user to define the color of the shadows for nodes and edges.
- Fixed #1528 , #1278 , avoided ID's being cast to string for methods that return ID's as well as storePositions casting to string.
9 years ago
Alex de Mulder
410f83aa38
- Fixed #1358 : Fixed example for clustering on zoom. Also removed private keyword from public methods. Let physics listen to data updates instead of being called from network.
9 years ago
Maxime Douailin
998bfac3f7
make edges and nodes parameters optional. dead vars removal
9 years ago
Maxime Douailin
ee0300c38a
added method setselection used by both selectNodes and selectEdges methods
9 years ago
jos
e91ab2351c
Fixed #1343 : Connected edges are now deselected too when deselecting a node
9 years ago
Alex de Mulder
b377194ae5
fixed hover and blur events for edges.
9 years ago
Alex de Mulder
c28051b1a8
- Added blurEdge and hoverEdge events.
9 years ago
AlexDM0
3c34a7dd78
fixed dragStart, dragging and dragEnd events when nodes are selected but the viewport is dragged
9 years ago
Alex de Mulder
9111c23ff9
Fixed #908 , unselecting nodes and edges now only when clicking in void.
9 years ago
Alex de Mulder
2fd1f4f923
- Fixed hoverNode and blurNode events and added them to the docs.
9 years ago
Alex de Mulder
0d32566e39
bugfixes, start of reorganisation of examples
9 years ago
Alex de Mulder
5b7a90f4dc
added multiselect, reworked options
9 years ago
Alex de Mulder
5b3f19acb5
fixed viewable area check as per #812
9 years ago
Alex de Mulder
4d57a6df7c
unified options with timeline, updated docs and configurator
9 years ago
Alex de Mulder
d4d928d250
finalized all methods and adde3d more docs
9 years ago
Alex de Mulder
a150b7cb27
fixed a number of bugs in manipulation
9 years ago
Alex de Mulder
cc129694f6
bug fixes, methods added and options changed to clean up code and to adhere to docs
9 years ago
jos
7248587d67
Removed spam
9 years ago
Alex de Mulder
b3580874d1
moved the entire network to triple ===. Bugs arise in scaling
9 years ago
Alex de Mulder
b954d9c9eb
start of configuration system
9 years ago
Alex de Mulder
39eb2e5079
most of the manipulation is now in 4.0
9 years ago
Alex de Mulder
dc5564a21e
moved the popup system to 4.0. Fixed #731 .
9 years ago
Alex de Mulder
b2178ffcc9
seperated all node styles from the main node object
9 years ago
Alex de Mulder
333ec38c3c
started creation of the edges handler and the nodes handler. currently broken.
9 years ago
Alex de Mulder
084c19400e
interaction tweaks
9 years ago
Alex de Mulder
a294f98686
working events like zoom and drag, testing on mobile still to be done.
9 years ago
Alex de Mulder
3541260108
work in progress of porting the event handlres
9 years ago