wimrijnders
98c0922d63
Consolidate code for determining the pixel ratio ( #3088 )
* Consolidate code for determining the pixel ratio
* - Removed local param 'pixerRatio' from CanvasRenderer. Now only canvas.pixelRatio is used.
- consolidated ctx.transform() calls in Canvas
- Added/edited commenting (also TODO's)
- Added Canvas.getContext()
7 years ago
wimrijnders
41677bdbf6
Refactoring in Canvas.js ( #3030 )
7 years ago
CapitanMorgan
91c96ba38c
fixes #2100 and issues with edges when clustering ( #2229 )
* Should fix issue #2100 and fix another issue we discovered around clusterByConnection leaving phantom edges.
* fixed a wrong variable name
* fixed DataView.test.js assert
* Update Canvas.js
* remove whitespace; remove end of file newline on Canvas.js
* strip end of file newlines
* fixed styling. spacing, semicolons, line length
8 years ago
jos
311ea1eef5
Fixed #1455 : allow vertical panning of the web page on touch devices
8 years ago
Alex de Mulder
40aac52c18
not set scale to 3.3 when initializing empty
8 years ago
Alex de Mulder
2be3235210
- Fixed upscaling when the window size increases.
- Accepted pull request #1544 , thanks @felixhayashi !
- Fixed documented bug in #1544 .
8 years ago
Alex de Mulder
db598bc4f7
- Made autoscaling on container size change pick the lowest between delta height and delta width.
9 years ago
Alex de Mulder
6581f56c63
- Fixed bug that broke the network if drawn in a hidden div #1254
9 years ago
Alex de Mulder
3f5c71eea3
- Fixed critical camera zoom bug #1273 . #1266 , #1255
- unified some methods in the networkUtil
- Fixed initial zoom issues #1252
9 years ago
Alex de Mulder
64c1995d81
added public ready versions of kamadakawai and adaptive layout, clustering bugfixes and reactive network.
9 years ago
Alex de Mulder
378c2e44d5
removed clear() from graph2d docs
9 years ago
Alex de Mulder
e23e2351ec
fixed hammerjs direction issue
9 years ago
AlexDM0
1302a6b3e0
Fixed bug where the network could flicker when the pixelRatio is not integer.
9 years ago
AlexDM0
760c3e9245
changed autoResize to only draw when change is detected.
9 years ago
Alex de Mulder
b075115f2d
changed docs, collected methods and events
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
04fb1aea64
added a setSize to the redraw function
9 years ago
Alex de Mulder
415a27aa74
updated docs, fixed setsize message
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
jos
31599b9fd8
Refactored css of network navigation
9 years ago
Alex de Mulder
517263a27e
minor changes, adhere to ES6 in bezier edge dynamic
9 years ago
Alex de Mulder
ef9dd9c55d
added comments to canvas
9 years ago
Alex de Mulder
3d29ba586f
restored default width and height to 100%
9 years ago
Alex de Mulder
c68f6d7a12
fixed more bugs in options, we now have a generate options button!
9 years ago
Alex de Mulder
6bdad7ee75
fixed bugs, restyled colorPicker
9 years ago
Alex de Mulder
39eb2e5079
most of the manipulation is now in 4.0
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
Alex de Mulder
a294f98686
working events like zoom and drag, testing on mobile still to be done.
9 years ago
jos
165ab9ab49
Halfway updating Network to hammer2
9 years ago
Alex de Mulder
fd06e8e81e
reasonably success in decoupling the rendering and the network by segmenting a canvas, view (for camera controls) and renderer.
9 years ago