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 years ago
jos
c7aac14dba
Added space to console warning
9 years ago
jos
c4636affc8
Fixed #1487 : DataSet cannot remove an item with id `0` correctly
9 years ago
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 years ago
Ludo Stellingwerff
e98f7b93a1
Warn on incorrect input
9 years ago
Ludo Stellingwerff
6059ff3299
Revert inadvertedly included commit 9bf7452041
9 years ago
jos
5f0755a373
Fixed #1437 : Restored `data` property of the update event of DataSet.
9 years ago
Ludo Stellingwerff
9bf7452041
Prevent potential null pointer error
9 years ago
Martin Fischer
a09df56a45
defined a read only property 'data' to avoid breaking the api
9 years ago
Martin Fischer
1eccf093ac
cloning old data before updating to fix #1378
9 years ago
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 years ago
jos
2c8c26f438
Deprecated functions `DataSet.subscribe` and `DataSet.unsubscribe`
9 years ago
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.
9 years ago
Måns Beckman
f53012fdf9
Updated code and docs for possibility to rename fields
9 years ago
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.
9 years ago
jos
783af7a561
Changed unit tests to use the compiled vis.js
10 years ago
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 years ago
jos
7e8ca2dd07
Added property `length` holding the total number of items in the DataSet
10 years ago
jos
6ec184e737
Implemented DataSet.setOptions
10 years ago
jos
41bbb30b8c
Integrated queue in DataSet
10 years ago
jos
1ffaba543c
Event listeners of `update` now receive an extra property `data`, containing the changed fields of the changed items.
10 years ago
Alex de Mulder
cd131960dc
added few examples, added gephi parser (JSON), added JSON get for dataset
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
jos
4873c8aba4
Fixed `DataView` not working in Timeline (see #195 )
10 years ago
jos
1a2d82dd08
Fixed DataSet.distinct requiring options.type to be configured
10 years ago
Alex de Mulder
c59dd11359
fixed dataset problem
10 years ago
jos
5524133fbf
Fixed #170 : unreliable Array type detection
10 years ago
jos
b6d5da3a8c
Refactored the property names of DataSet and DataView to having underscore prefixes
10 years ago
jos
106983fad4
Timeline now accepts a DataSet with items having any type of start and end.
10 years ago
jos
b4945faedd
Renamed DataSet option `convert` to `type`.
10 years ago
Alex de Mulder
c8cc074db1
legend WIP
10 years ago
Alex de Mulder
ada8e98549
fixed dataset bug
10 years ago
jos
0f45b7a2f1
Removed double function naming
10 years ago
jos
3b239349fa
Extended DataSet documentation
10 years ago
jos
c64cdb9166
DataSet constructor now accepts initial data and options
10 years ago
josdejong
9939679f9b
Renamed DataSet functions `subscribe` and `unsubscribe` to `on` and `off`
11 years ago
Alex de Mulder
6e6905353c
DATASET: Added options flag for including internal ids, added test coverage for it
11 years ago
josdejong
7e6810955d
Switched to 2-space indentation
11 years ago
josdejong
8643fdcc91
Renamed DataSet option fieldTypes to convert, and renamed util.cast to util.convert
11 years ago
josdejong
6b7a305dc5
Manipulation methods of DataSet now return a list with the ids of the affected items.
11 years ago
josdejong
7c3ed40536
Graph now uses an id based set of nodes and edges instead of a row based array internally, and supports DataSet
11 years ago
josdejong
4eed201768
Renamed source files to match the name of the containing prototype
11 years ago
josdejong
997e2ccea5
Implemented option order in DataSet and DataView
11 years ago
josdejong
ec0be4dc38
DataView correctly translates and propagates events, as seen from its own point of view.
11 years ago
josdejong
2ebc747903
DataView and grouping in action
11 years ago
josdejong
178b286568
Replaced all forEach with old-fashioned but wau faster for loops.
11 years ago
josdejong
a3e8bbd63e
Improved getting items (casting and filtering).
11 years ago
josdejong
74771c66dd
Implemented DataView
11 years ago
josdejong
fb7cb8a10d
Simplified subscription model
11 years ago