macleodbroad-wf
48c7cf93f1
Enable jsdoc-require MethodDefinition ( #3382 )
* Enables require MethodDefinition for require-jsdoc lint rule and corrects 66% of missing Method Definitions
* Adds jsdoc for all remaining methods and corrects @class/@constructor documentation
* Define values more accurately
* Correct bugs that prevent jsdoc generation
7 years ago
macleodbroad-wf
6dfb468974
Enables "ClassDeclaration" for require-jsdoc lint rule, and adds all missing class-level jsdoc ( #3373 )
7 years ago
macleodbroad-wf
d4e4e9fa07
Removes redundant .eslintrc from graph3d, lints the rest of the code … ( #3363 )
* Removes redundant .eslintrc from graph3d, lints the rest of the code base, and enables valid-jsdoc lint rule
* Corrects lint violations
7 years ago
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
wimrijnders
003a4b26fa
Changed order of (de)select events for network ( #3113 )
* Changed order of (de)select events for network
* Fixed parameters to _generateClickEvent() to be compatible with previous.
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
Uli Fahrer
1a3f786b8a
Fix tooltip issue causing exception when node becomes cluster
8 years ago
Lewis B
c9f586195a
[Timeline] Added HTML tool-tip support ( #2498 )
* Added HTML tooltip support for Timeline
* Fixed tooltip position on Firefox
* Added Timeline tooltip example
* Updated tooltip location to be next to the mouse
* Added HTML element to example
8 years ago
yoavdamri
eeba7fd05d
feat: add pointer position to zoom event ( #2377 )
* add pointer position to zoom event
* Update docs with zoom api
8 years ago
Alex de Mulder
1cb16f64ee
Fixed #1575 : fixed selection events
8 years ago
Alex de Mulder
d6cb3b6cdd
= Fixed #1334 (again): Network now ignores scroll when interaction:zoomView is false.
9 years ago
AlexDM0
d87fd1d266
reverted selectEdge pull
9 years ago
JonathanGeoffroy
711b3def94
fix : selectEdge was fired even if user clicked on a node
The selectEdge handler is now fired only if user clicked on an edge, in order to select it.
It's not fired if the node are selected because there are connected to the selected node.
9 years ago
Alex de Mulder
3ab17e2cb0
Fixed node resizing on dragging.
9 years ago
Alex de Mulder
302f2f6625
placed dragEnd event after restoration of fixed state of node
9 years ago
AlexDM0
3c34a7dd78
fixed dragStart, dragging and dragEnd events when nodes are selected but the viewport is dragged
9 years ago
AlexDM0
0987a84e04
- Fixed #927 , dragStart event didnt contain node that was being dragged
9 years ago
jos
626d4b9b8b
Fixed #877 : Added support for metaKey to select multiple items.
9 years ago
Alex de Mulder
1a741c2dc8
code cleanup
9 years ago
Alex de Mulder
fab3215f2f
made deselect and select nodes and edges fire more consistently
9 years ago
Alex de Mulder
e8bef2f837
- Fixed #884 , selectNode event.
9 years ago
Alex de Mulder
0219c43720
changed popup css to pass all mouse events. All pageX and pageY changed to clientX and clientY because the correction is done with getBoundingClientRect
9 years ago
Alex de Mulder
50f6dbc0e7
fixed bug in clustering! woohoo! added event on off once to docs. more examples
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
e4b64da1b6
reverted fix, avoidance is better
9 years ago
Alex de Mulder
de5a9a76e6
fixed physics bug
9 years ago
Alex de Mulder
357853e2ce
allowed deleting values with null and undefined. Fix for global variables, fix for edge color strings
9 years ago
Alex de Mulder
4d57a6df7c
unified options with timeline, updated docs and configurator
9 years ago
Alex de Mulder
6b770a3158
fixed destroy!
9 years ago
Alex de Mulder
3fbab7cd9d
updated docs partially
9 years ago
Alex de Mulder
7e30d2f009
added manipulation documentation and numerous bugfixes
9 years ago
Alex de Mulder
867f033078
changed the dashes options, fixed bug
9 years ago
jos
28f8367f11
Fixed the touch and release events being fired twice each time. Fixed a bug with dragging in the InteractionHandler
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
Alex de Mulder
de9334458b
renamed option showNavigationIcons to navigationButtons
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
9c324697dd
added color picker
9 years ago
Alex de Mulder
39eb2e5079
most of the manipulation is now in 4.0
9 years ago
Alex de Mulder
cd3da3c800
fixed bugs, options, tooltip options
9 years ago
Alex de Mulder
b62d536fe7
updated group options, icon api change
9 years ago
Alex de Mulder
b9c97e18d8
moved groups to v4.0, fixed some bugs in edges
9 years ago
Alex de Mulder
dc5564a21e
moved the popup system to 4.0. Fixed #731 .
9 years ago
Alex de Mulder
cf057e7ecc
simplified fixed for nodes, removed duplicate datachanged events with support nodes in edges
9 years ago
Alex de Mulder
2152bd64ce
clustering now using new visibility model, ripped edges apart, arrows not yet functional
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
208da974db
tweaks. NagivationMixin has now been ported along with keyboard bindings using keycharm.
9 years ago
Alex de Mulder
084c19400e
interaction tweaks
9 years ago