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
macleodbroad-wf
0df59c8f41
Makes Network, DataSet and DataView eslint compliant ( #3304 )
* Makes network eslint compliant
Unused variables in private functions, who were never called internally with those arguments were removed.
lint rule was disabled for public functions, and in private functions which were called internally with those unused arguments
* Disables linting for unused args passed into DataSet and DataView
7 years ago
wimrijnders
9a564417d0
Fixes for loading images into image nodes ( #2964 )
* Add warnings and errors for image loading
* Fixes and commenting for image loading
* Fix typo
* Small fixes due to review
7 years ago
wimrijnders
005fa974cb
Fix #2952 Pre-render node images for interpolation ( #3010 )
* CachedImage with preredendered zoom images; first working version.
* Fixes for missing images and usage brokenImage.
* Remove unused method
* Added height member of CachedImage, note about svg's
7 years ago
Brendon Page
1cb3221df7
Rewrote the Images.js for the network in ECMA script 6 syntax.
9 years ago
Brendon Page
e015f7fca2
Moved internal functions in Images.load onto the prototype
Added comments to Images.js
9 years ago
Brendon Page
81c7e46ee3
Fixed issue where broken images wouldn't always be rendered.
9 years ago
Alex de Mulder
db5782cad8
- Fixed #861 , brokenImage only working for one node if nodes have the same image.
9 years ago
Alex de Mulder
b3580874d1
moved the entire network to triple ===. Bugs arise in scaling
9 years ago
Alex de Mulder
9cd6c4ae06
fixed images, groups, circular images, repeating events
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
42fd92f959
- Improved images handling so broken images are shown on all references of images that are broken.
9 years ago
Brendon Page
1835a56875
Reverted images.js
9 years ago
Alex de Mulder
49776a2f39
- Stopped infinite loop when brokenImage is also not available.
9 years ago
Brendon Page
1321df719a
Fixed infinite loop on network image load when Url and brokenUrl failed to load
9 years ago
Alex de Mulder
10bb58b053
reverted change in image class, fixed bug #552
9 years ago
Alex de Mulder
b26796e514
reverted images function
9 years ago
Brendon Page
7f60681596
Fixed issue in network/images.js where load() would return undefined if image was already loaded
9 years ago
Alex de Mulder
350e69b5fb
- Community fix for SVG images in IE11, thanks @dponch !
9 years ago
Alex de Mulder
6618b21d12
- Fixed infinite loop when an image can not be found and no brokenImage is provided. #395
9 years ago
Scott Fairgrieve
2ca1972f01
Update network/node image code to allow for specifying a broken image url to use when a node image fails to load
10 years ago
jos
72dfc0c45f
Reworked all code to commonjs modules. Replaced the build script with Gulp
10 years ago
jos
f0a5b12593
Moved source code from `/src/` to `/lib/`
10 years ago
Alex de Mulder
d65fbafcd7
refactor: graph --> network
10 years ago
jos
409e602513
Fixed some Prototypes from being globally defined
10 years ago
josdejong
7e6810955d
Switched to 2-space indentation
11 years ago
josdejong
287cfa1446
Splitted Graph.js into a file for every prototype (Node, Edge, ...)
11 years ago