wimrijnders
a01ef86c2a
[Network] Fixes for loading of examples ( #3332 )
This PR contains two small fixes to ensure that all examples rung.
I noticed that some examples weren't working, so I tested them all.
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
af4e1fa9ed
Network: make 'hidden' and 'clustered' play nice together ( #3274 )
Fix for #3164
- `network.clustering.cluster()` now handles all nodes, not just the visible ones
- Changing ivisibility of nodes now explicitly takes clustering into account, see `Network._updateVisibleIndices()`
- `network.clustering` does not change `hidden` status any more.
The important part of this PR is the realization that 'hidden' and 'clustered' are two distinct things and should be handled separately.
In particular, clustering should **not** change the `hidden` state in any way.
7 years ago
wimrijnders
a746466950
Fix usage of clustering with hierarchical networks ( #3132 )
* clusters in hierarchical working for sortorder 'hubsize'
* Code cleanup
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
Jader Dias
8419c73535
correct spelling for 'deprecated' and 'deprecation' s/depricat/deprecat/g
8 years ago
Jader Dias
bcca755a6c
correct spelling for 'deprecated' and 'deprecation' s/depricat/deprecat/g
8 years ago
jos
1c7d5ebe5d
Upgraded to babel v6
8 years ago
Alex de Mulder
39ea3b43d0
- Added options to customize the hierarchical layout without the use of physics.
added example. Improved handling of options for hierarchical view.
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
Maxime Douailin
4a18f8999e
Expose publicly setSelection method
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
Alex de Mulder
21fc4833c7
Fixed unselectAll method
9 years ago
jos
7034f77c6e
Removed a few old deprecations, fixed a typo
9 years ago
Alex de Mulder
09d3dfbb09
- made it pretty, fixed bugs in clustering
9 years ago
Alex de Mulder
50235111e6
added moveNode method
9 years ago
Steve
789c591301
Update Network.js
Missed "apply" call on DOMtoCanvas call
9 years ago
Alex de Mulder
ace45e6c2e
- Added getOptionsFromConfigurator method.
9 years ago
jos
7c22bd3c3b
Configurator is now lazy loaded in Timeline, Graph2d, and Network (see #964 )
9 years ago
Alex de Mulder
8fe6408541
fixed #974 , requesting a redraw on update in case of physics being disabled.
9 years ago
Alex de Mulder
ab112d8a40
added stochastic option check to the testing. Fixed few bugs
9 years ago
Alex de Mulder
a1d4b27ef3
- fixed minor bugs
9 years ago
Alex de Mulder
0150255c87
- Fixed few functions including storePositions().
- Added beginnings of unit testing for network.
9 years ago
Alex de Mulder
043f198860
fixed getNodeAt and getEdgeAt functions
9 years ago
Alex de Mulder
b2eaf589a7
- Fixed clustering bug
9 years ago
Alex de Mulder
e2945947fd
- Fixed click to use
9 years ago
Alex de Mulder
aa12cea8b6
Fixed #860 , edit node mode now works as it should.
9 years ago
Alex de Mulder
7099dd13f7
renamed getEdges to getConnectedEdges, made getConnectedNodes also work for edges
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
ad2d70ed8b
fixed numerous clustering bugs, added more examples, numerous other bug fixes
9 years ago
Alex de Mulder
cbc4c8dce3
fixed bugs, set all groups to reload if globally changed
9 years ago
jos
176742b33f
Implemented configurator for Graph2d. Fixed Configurator displaying nothing when `filter: true`.
9 years ago
Alex de Mulder
c3883970e4
numerous bugfixes, partial progress with examples
9 years ago
Alex de Mulder
14c4a10c9b
added dot and gephi parser to docs, need to include examples in the docs everywhere. Added working example code at the top of the docs and link to example 1
9 years ago
jos
88ab094789
Moved validator and ConfigurationSystem to ./lib/shared, and continue with options on error
9 years ago
Alex de Mulder
b9796e65e9
rebuilt
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
c9a1a88f41
fixed all trello issues and added snazzy option lookup to validator
9 years ago
Alex de Mulder
676250fd31
made config system fully independent of the network.
9 years ago
Alex de Mulder
4d57a6df7c
unified options with timeline, updated docs and configurator
9 years ago
Alex de Mulder
91f053cbea
minor style fixes
9 years ago
Alex de Mulder
6b770a3158
fixed destroy!
9 years ago
Alex de Mulder
2ea3b2ef47
created shorthand for all methods
9 years ago
Alex de Mulder
fbf94397bb
moved options to network
9 years ago
Alex de Mulder
bf274fd51e
added a pretty amazing option checker to network :)
9 years ago
Alex de Mulder
3fbab7cd9d
updated docs partially
9 years ago
Alex de Mulder
d4d928d250
finalized all methods and adde3d more docs
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
517263a27e
minor changes, adhere to ES6 in bezier edge dynamic
9 years ago