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
8 年前
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
8 年前
macleodbroad-wf
05cbb3b72c
Adds missing jsdoc and adds lint rule require-jsdoc to build process ( #3354 )
* Change lint rules
* Get eslint passing with require-jsdoc
8 年前
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
8 年前
Zachariah Brown
109754b34c
Fixes instanceof Object statements for objects from other windows and iFrames. ( #2631 )
* Replaces instanceof Object checks with typeof to prevent cross tab issues.
* Adds missing space.
8 年前
Alexander Wunschik
890c3f83a6
fix(graph2d): fix #2500 for graph2d ( #2581 )
* fix(graph2d): fix #2500 for graph2d; improves #2580
* fix(DataSet): make sure the right id-type is used internaly
This fixes a fixed strange string-number conversion issue.
It can happen that id "0" !== 0 what causes #2580 .
fixes #2580
8 年前
Lewis B
cb5cfc0858
Fixed deleting item with id 0 ( #2530 )
8 年前
Ludo Stellingwerff
876e0ab83e
Graph2d performance enhancement ( #2281 )
* Important performance enhancement supporting incremental changes to large graphs, these were too slow due to doing a full item conversion on each add().
Note: the data handling side of graph2d is currently somewhat over-engineered (=too complex) It can use some simplification....
* Fixed style based on feedback.
8 年前
Zachariah Brown
776f4cc2d6
Updates DataSet and DataView remove event payload ( #2189 )
* Updates all 'remove' events in DataSet and DataView to include the objects that were removed in addition to the the ids.
* Updated the documentation to reflect changes.
* Fixed possible object mutation when typeof id is object in DataSet.remove.
8 年前
jos
c7aac14dba
Added space to console warning
9 年前
jos
c4636affc8
Fixed #1487 : DataSet cannot remove an item with id `0` correctly
9 年前
jos
5fd3efceb2
Fixed #1491 : Problem using ctrl+drag in combination with using a `DataView`, and an issue with ctrl+drag when using `snap: null`
9 年前
Ludo Stellingwerff
e98f7b93a1
Warn on incorrect input
9 年前
Ludo Stellingwerff
6059ff3299
Revert inadvertedly included commit 9bf7452041
9 年前
jos
5f0755a373
Fixed #1437 : Restored `data` property of the update event of DataSet.
9 年前
Ludo Stellingwerff
9bf7452041
Prevent potential null pointer error
9 年前
Martin Fischer
a09df56a45
defined a read only property 'data' to avoid breaking the api
9 年前
Martin Fischer
1eccf093ac
cloning old data before updating to fix #1378
9 年前
Philippe Mimms
627d708efb
Replaced for-in loops in DataSet.js and DataView.js with Object-key iteration of cached length for greater computational performance.
9 年前
jos
2c8c26f438
Deprecated functions `DataSet.subscribe` and `DataSet.unsubscribe`
10 年前
jos
7e0961ae73
- Dropped support for Google DataTable.
- Dropped support for appending data returned by `DataSet.get()` to an existing Array or DataTable.
- Fixed a `window` issue in uuid.js.
10 年前
Måns Beckman
f53012fdf9
Updated code and docs for possibility to rename fields
10 年前
Måns Beckman
eb5afcfc6a
Added possibility to rename fields on a DataSet.get()
Added functionality to extend the fields array, to a fields object,
similar to the type declaration. This makes it possible rename
properies when you get them.
10 年前
jos
783af7a561
Changed unit tests to use the compiled vis.js
10 年前
jos
b778649725
Fixed #531 : a bug in the `DataSet` returning an empty object instead of `null` when no item was found when using both a filter and specifying fields.
10 年前
jos
7e8ca2dd07
Added property `length` holding the total number of items in the DataSet
10 年前
jos
6ec184e737
Implemented DataSet.setOptions
10 年前
jos
41bbb30b8c
Integrated queue in DataSet
10 年前
jos
1ffaba543c
Event listeners of `update` now receive an extra property `data`, containing the changed fields of the changed items.
10 年前
Alex de Mulder
cd131960dc
added few examples, added gephi parser (JSON), added JSON get for dataset
11 年前
jos
72dfc0c45f
Reworked all code to commonjs modules. Replaced the build script with Gulp
11 年前
jos
f0a5b12593
Moved source code from `/src/` to `/lib/`
11 年前
jos
4873c8aba4
Fixed `DataView` not working in Timeline (see #195 )
11 年前
jos
1a2d82dd08
Fixed DataSet.distinct requiring options.type to be configured
11 年前
Alex de Mulder
c59dd11359
fixed dataset problem
11 年前
jos
5524133fbf
Fixed #170 : unreliable Array type detection
11 年前
jos
b6d5da3a8c
Refactored the property names of DataSet and DataView to having underscore prefixes
11 年前
jos
106983fad4
Timeline now accepts a DataSet with items having any type of start and end.
11 年前
jos
b4945faedd
Renamed DataSet option `convert` to `type`.
11 年前
Alex de Mulder
c8cc074db1
legend WIP
11 年前
Alex de Mulder
ada8e98549
fixed dataset bug
11 年前
jos
0f45b7a2f1
Removed double function naming
11 年前
jos
3b239349fa
Extended DataSet documentation
11 年前
jos
c64cdb9166
DataSet constructor now accepts initial data and options
11 年前
josdejong
9939679f9b
Renamed DataSet functions `subscribe` and `unsubscribe` to `on` and `off`
11 年前
Alex de Mulder
6e6905353c
DATASET: Added options flag for including internal ids, added test coverage for it
11 年前
josdejong
7e6810955d
Switched to 2-space indentation
11 年前
josdejong
8643fdcc91
Renamed DataSet option fieldTypes to convert, and renamed util.cast to util.convert
12 年前
josdejong
6b7a305dc5
Manipulation methods of DataSet now return a list with the ids of the affected items.
12 年前
josdejong
7c3ed40536
Graph now uses an id based set of nodes and edges instead of a row based array internally, and supports DataSet
12 年前