vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1346 lines
47 KiB

8 years ago
8 years ago
8 years ago
9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
  1. # vis.js history
  2. http://visjs.org
  3. ## not yet released, version 4.10.1-SNAPSHOT
  4. ### Network
  5. - Expose `setSelection` method. Thanks @zefrog.
  6. ### Timeline
  7. - Fixed #1441: Height of subgroups not immediately updated after updating
  8. data in a DataSet or DataView.
  9. - Fixed #1491: Problem using ctrl+drag in combination with using a `DataView`,
  10. and an issue with ctrl+drag when using `snap: null`.
  11. ### Graph2d
  12. - Implemented a new option for `shaded.orientation` to always shade towards zero.
  13. Thanks @ludost.
  14. - Fixed support for using a `DataView` in Graph2d. Thanks @ludost.
  15. ## 2015-11-27, version 4.10.0
  16. ### General
  17. - Fixed #1353: Custom bundling with browserify requiring manual installation
  18. of `babelify`.
  19. ### Network
  20. - Implemented new method `setSelection({nodes:[...], edges: [...]})`.
  21. Thanks @zefrog.
  22. - Fixed #1343: Connected edges are now deselected too when deselecting a node.
  23. - Fixed #1398: Support nodes start with the correct positions.
  24. - Fixed #1324: Labels now scale again.
  25. - Fixed #1362: Layout of hierarchicaly systems no longer overlaps NODES.
  26. - Fixed #1414: Fixed color references for nodes and edges.
  27. - Fixed #1408: Unclustering without release function respects fixed positions now.
  28. - Fixed #1358: Fixed example for clustering on zoom.
  29. - Fixed #1416: Fixed error in improvedLayout.
  30. - Improvements on hierarchical layout.
  31. ### Timeline
  32. - Implemented option `itemsAlwaysDraggable`, See #1395. Thanks @liuqingc.
  33. - Implemented option `multiselectPerGroup`. Thanks @hansmaulwurf23.
  34. - Implemented property `oldData` on change events of the DataSet, and
  35. deprecated the `data` property which wrongly contained new data instead of
  36. old data. Thanks @hansmaulwurf23.
  37. - Implemented option `maxMinorChars` to customize the width of the grid.
  38. - Expose `vis.timeline.Core` for customization purposes.
  39. - Fixed #1449, #1393: text of minor grids sometimes not being drawn.
  40. ### Graph2d
  41. - Fixed #1385: Draw lines on top of bars.
  42. - Fixed #1461 and #1345: Reset order of SVG elements in legend icons.
  43. ### DataSet/DataView
  44. - Performance improvements (see #1381). Thanks @phimimms.
  45. ## 2015-10-01, version 4.9.0
  46. ### Network
  47. - Fixed bug where an edge that was not connected would crash the layout algorithms.
  48. - Fixed bug where a box shape could not be drawn outside of the viewable area.
  49. - Fixed bug where dragging a node that is not a control node during edit edge mode would throw an error.
  50. - Made auto scaling on container size change pick the lowest between delta height and delta width.
  51. - Added images with borders option (useBorderWithImage)
  52. - Updated the manipulation css to fix offset if there is no separator.
  53. ### Timeline
  54. - Fixed #1326: wrongly positioned dot of PointItems.
  55. - Fixed #1249: option `hiddenDates` not accepting a single hidden date.
  56. - Fixed a bug when pinching and using hidden dates. Thanks @lauzierj.
  57. ## 2015-09-14, version 4.8.2
  58. ### Network
  59. - Fixed Phantom Edges during clustering.
  60. - Fixed scaling not doing anything to edges.
  61. - Fixed setting font to null so the network won't crash anymore.
  62. - Fixed stabilized event not firing if layout algorithm does very well.
  63. - Fixed arrows with some shapes when they are selected. #1292
  64. - Fixed deletion of options by settings them to null.
  65. ## 2015-09-07, version 4.8.1
  66. ### Network
  67. - Added German (de) locale. Thanks @Tooa.
  68. - Fixed critical camera zoom bug #1273.
  69. - Fixed unselectAll method. #1256
  70. - Fixed bug that broke the network if drawn in a hidden div #1254
  71. ### Timeline
  72. - Fixed #1215: inconsistent types of properties `start` and `end` in callback
  73. functions `onMove`, `onMoving`, `onAdd`.
  74. ## 2015-08-28, version 4.8.0
  75. ### Timeline
  76. - Implemented reordering groups by dragging them vertically. Thanks @hansmaulwurf23.
  77. ### Network
  78. - Added Spanish (es) locale. Thanks @gomezgoiri.
  79. - Added support for labels in edges and titles for both nodes and edges during gephi import.
  80. - Added KamadaKawai layout engine for improved initial layout.
  81. - Added Adaptive timestep to the physics solvers for increased performance during stabilization.
  82. - Added improvedLayout as experimental option for greatly improved stabilization times.
  83. - Added adaptiveTimestep as experimental option for greatly improved stabilization times.
  84. - Added support for Gephi directed edges, edge labels and titles.
  85. - Improved the positioning and CSS of the configurator and the color picker.
  86. - Greatly improved performance in clustering.
  87. - Made the network keep its 'view' during a change of the size of the container.
  88. - Fixed #1152, updating images now works.
  89. - Fixed cleaning up of nodes.
  90. - Fixed dynamic updating of label properties.
  91. - Fixed bugs in clustering algorithm.
  92. - Fixed find node return types.
  93. - Fixed bug where stabilization iterations were counted double. If it looks like the stabilization is slower, its because it is doing twice the amount of steps it did before.
  94. - Fixed getPositions return values.
  95. ## Graph2d
  96. - Implemented configuration option `excludeFromLegend`. Thanks @Bernd0.
  97. ## 2015-07-27, version 4.7.0
  98. ### Timeline
  99. - Fixed #192: Items keep their group offset while dragging items located in
  100. multiple groups. Thanks @Fice.
  101. - Fixed #1118: since v4.6.0, grid of time axis was wrongly positioned on some
  102. scales.
  103. ### Network
  104. - Added moveNode method.
  105. - Added cubic Bezier curves.
  106. ## 2015-07-22, version 4.6.0
  107. ### Timeline
  108. - Implemented #24: support for custom timezones, see configuration option `moment`.
  109. ### Graph2d
  110. - Implemented #24: support for custom timezones, see configuration option `moment`.
  111. ### Network
  112. - Fixed #1111, check if edges exist was not correct on update.
  113. - Fixed #1112, network now works in firefox on unix again.
  114. - Added #931, borderRadius in shapeProperties for the box shape.
  115. - Added #936, useImageSize for images and circularImages
  116. ## 2015-07-20, version 4.5.1
  117. ### Network
  118. - Fixed another clustering bug, phantom edges should be gone now.
  119. - Fixed disabling hierarchical layout.
  120. - Fixed delete button when using multiple selected items in manipulation system.
  121. ## 2015-07-17, version 4.5.0
  122. ### General
  123. - Docs have been greatly improved thanks to @felixhayashi! Thanks a lot!
  124. ### Network
  125. - Added shapeProperties, thanks @zukomgwili!
  126. - Added configChange event.
  127. - Properly fixed the _lockedRedraw method.
  128. - Fixed node resizing on dragging.
  129. - Fixed missing edges during clustering.
  130. - Fixed missing refresh of node data when changing hierarchical layout on the fly.
  131. - Fixed hover and blur events for edges.
  132. ### Graph3d
  133. - Fixed not changing `backgroundColor` when not provided in options. Thanks @ozydingo.
  134. ### Timeline
  135. - Implemented support for group templates (#996). Thanks @hansmaulwurf23.
  136. - Implemented option `zoomKey` for both Timeline and Graph2d (see #1082).
  137. Thanks @hansmaulwurf23.
  138. - Fixed #1076: Fixed possible overlap of minor labels text on the TimeAxis.
  139. - Fixed #1001: First element of group style being cut.
  140. - Fixed #1071: HTML contents of a group not cleared when the contents is updated.
  141. - Fixed #1033: Moved item data not updated in DataSet when using an asynchronous
  142. `onMove` handler.
  143. - Fixed #239: Do not zoom/move the window when the mouse is on the left panel
  144. with group labels.
  145. ## 2015-07-03, version 4.4.0
  146. ### General
  147. - Documentation now has breadcrums. Thanks @felixhayashi!
  148. ### Graph3d
  149. - Fixed #970: Implemented options `dataColor`, `axisColor`, and `gridColor`.
  150. ### Network
  151. - Fixed Hammerjs direction issue.
  152. - Fixed recursion error when node is fixed but has no position.
  153. - Fixed accidental redrawing during stabilization.
  154. - Fixed delete callbacks with null argument not showing toolbar afterwards.
  155. - Added zoom events from keyboard and navigation buttons.
  156. - No longer start stabilization with an empty node set.
  157. - Fixed #974 connecting static smooth and straight edges.
  158. - Improved handling of empty image field.
  159. - Fixed #987 proper cleaning of support nodes.
  160. - Fixed static smooth edges not fully working from every angle.
  161. - Fixed updating bounding box of nodes without drawing.
  162. - Fixed #1036, bug in lockedRedraw. Thanks @vges!
  163. - Added getDataset to all manipulation functions. Thanks @ericvandever!
  164. - Fixed #1039, icon now returns correct distance to border
  165. - Added blurEdge and hoverEdge events.
  166. - Added labelHighlightBold option to edges and nodes.
  167. - Added getOptionsFromConfigurator method.
  168. - Fixed extra edges in clustering.
  169. - Fixed cleaning up of clustering edges on declustering.
  170. - Made fit() method only look at visible nodes to get the range.
  171. ### Graph2d
  172. - Made graph2d more robust against string values in the y position.
  173. - Fixed bug where 0 axis was always in the automatically fitted range.
  174. - Added drawPoints.onRender. Thanks @mschallar!
  175. ### Timeline
  176. - Fixed cleaning up of items in subgroups, thanks @ChenMachluf!
  177. - Improved error notification with groups, thanks @skinkie!
  178. ## 2015-06-16, version 4.3.0
  179. ### General
  180. - Fixed #950: option `locales` broken in `Timeline`, `Graph2d`, and `Network`.
  181. - Fixed #964: `Timeline`, `Graph2d`, and `Network` not working on IE9.
  182. ### Graph2d
  183. - Fixed #942, #966: bug when data is empty.
  184. ### Timeline
  185. - Implemented `editable` option for individual items. Thanks @danbertolini.
  186. ### Network
  187. - Fixed dragStart event to give the correct node information.
  188. ## 2015-06-05, version 4.2.0
  189. ### General
  190. - Fixed #893, #911: the `clickToUse` option of Network, Graph2d, and Network
  191. was blocking click events in the web page.
  192. ### Timeline
  193. - Added axis orientation option `'none'`.
  194. - Added a property `event` to the properties emitted with the `select` event (see #923).
  195. - Improved function `fit()` to take into account the actual width of items.
  196. - Fixed #897: Timeline option `{snap: null}` did give a validation error.
  197. - Fixed #925: Event `timechanged` did not fire when mouse has been moved outside
  198. the timeline.
  199. ### Graph2D
  200. - Fixed #892, addressed any case in validator.
  201. - Fixed #898, lines are not taken into account for stacking.
  202. ### Network
  203. - Improved robustness against people molesting the Function.prototype.bind()
  204. - Fixed few functions including storePositions().
  205. - Added beginnings of unit testing for network.
  206. - Fixed #904, correctly parsing global font options now.
  207. - Fixed dataView support for storePositions.
  208. - Second click on node is no longer unselect.
  209. - Added releaseFunction to openCluster.
  210. - Fixed bug where the network could flicker when the pixelRatio is not integer.
  211. - Added enabled property to physics.
  212. - Fixed #927, dragStart event didn't contain node that was being dragged
  213. ## 2015-05-28, version 4.1.0
  214. ### Network
  215. - Fixed #866, manipulation can now be set to false without crashing.
  216. - Fixed #860, edit node mode now works as it should.
  217. - Fixed #859, images now resize again when they are loaded.
  218. - Fixed dynamic edges not correctly handling non-existent nodes.
  219. - Accepted pull from @killerDJO for fixing selected and hover colors for edges.
  220. - Fixed bug with right mouse button, scroll center and popup positions using the wrong coordinates.
  221. - Fixed click to use.
  222. - Fixed getConnectedEdges method.
  223. - Fixed clustering bug.
  224. - Added getNodesInCluster method.
  225. - Renamed editNodeMode to editNode, editNodeMode now give a deprecation log message.
  226. - Added multiselect to the docs.
  227. - Removed deprecated dynamic entree, allow any smooth curve style for hierarchical layout.
  228. - Fixed bug with the moveTo and getViewPosition methods.
  229. - Fixed #861, brokenImage only working for one node if nodes have the same image.
  230. - Fixed hoverNode and blurNode events and added them to the docs.
  231. - Fixed #884, selectNode event.
  232. - Fixed dynamic setting hidden and physics.
  233. - Fixed edit node mode's fallback.
  234. ### Graph2d & Timeline
  235. - Fixed #858, #872, fixed usage of deprecated `unsubscribe` from DataSet.
  236. - Fixed #869: Add className with id to custom time bars
  237. - Fixed #877: Added support for metaKey to select multiple items.
  238. ## 2015-05-22, version 4.0.0
  239. ### General
  240. - Changed the build scripts to include a transpilation of ES6 to ES5
  241. (using http://babel.org), so we can use ES6 features in the vis.js code.
  242. When creating a custom bundle using browserify, one now needs to add a
  243. transform step using `babelify`, this is described in README.md.
  244. ### Timeline
  245. - Integrated an option configurator and validator.
  246. - Implemented option `multiselect`, which is false by default.
  247. - Added method `setData({groups: groups, items: items})`.
  248. - Fixed range items not being displayed smaller than 10 pixels (twice the
  249. padding). In order to have overflowing text, one should now apply css style
  250. `.vis.timeline .item.range { overflow: visible; }` instead of
  251. `.vis.timeline .item.range .content { overflow: visible; }`.
  252. See example 18_range_overflow.html.
  253. - Fixed invalid css names for time axis grid, renamed hours class names from
  254. `4-8h` to `h4-h8`.
  255. - Deprecated option `showCustomTime`. Use method `addCustomTime()` instead.
  256. - Deprecated event `finishedRedraw` as it's redundant.
  257. - Renamed option `animate` to `animation`, and changed it to be either a boolean
  258. or an object `{duration: number, easingFunction: string}`.
  259. - Fixed #831: items losing selection when their type changed.
  260. ### Graph2d
  261. - New option structure.
  262. - Cleaned up docs.
  263. - Fixed #628: stacking order.
  264. - Fixed #624: sorting order.
  265. - Fixed #616: stacking with negative bars.
  266. - Fixed #728: alignment issues.
  267. - Fixed #716: Height of graph `2px` too large when configuring a fixed height.
  268. ### Network
  269. The network has been completely rewritten. The new modular setup using ES6 classes makes
  270. it future proof for maintainability, extendability and clarity. A summary of new features:
  271. - New examples, categorized by topic.
  272. - New docs.
  273. - New option structure, adhering to the modular setup on the backend.
  274. - New events for user interaction.
  275. - New render events for drawing custom elements on the canvas.
  276. - New physics events for making a loading bar during stabilization.
  277. - A lot of new methods that make extending easier.
  278. - Manipulation system now works without the UI neccesarily.
  279. - Nodes and edges can cast shadows.
  280. - Configurator system to dynamically change almost all options.
  281. - Validator has been created for the network's options, warning you about typo's and suggesting alternatives.
  282. - Diamond shape for nodes.
  283. - Unified the label code so edges and nodes have the same label settings.
  284. - InheritColors for edges can be set to both, making a gradient fade between two node colors.
  285. - Redesigned the clustering system giving full control over it.
  286. - Random seed can be saved so the network will be the same every time you start it.
  287. - New physics solver based on ForceAtlas2 as implemented in gephi.]
  288. - New avoidOverlap option for physics.
  289. - Many, many bugfixes.
  290. ### DataSet
  291. - Dropped support for Google visualization DataTable.
  292. - Dropped support for appending data returned by `DataSet.get()` to an existing
  293. Array or DataTable.
  294. ## 2015-04-07, version 3.12.0
  295. ### Network
  296. - Fixed support for DataSet with custom id fields (option `fieldId`).
  297. ### Timeline
  298. - Orientation can now be configured separately for axis and items.
  299. - The event handlers `onMove` and `onMoving` are now invoked with all item
  300. properties as argument, and can be used to update all properties (like
  301. content, className, etc) and add new properties as well.
  302. - Fixed #654: removed unnecessary minimum height for groups, takes the
  303. height of the group label as minimum height now.
  304. - Fixed #708: detecting wrong group when page is scrolled.
  305. - Fixed #733: background items being selected on shift+click.
  306. ## 2015-03-05, version 3.11.0
  307. ### Network
  308. - (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
  309. - Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
  310. - Added option to bypass default groups. If more groups are specified in the nodes than there are in the groups, loop over supplied groups instead of default.
  311. - Added two new static smooth curves modes: curveCW and curve CCW.
  312. - Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
  313. - Added pull request for usage of Icons. Thanks @Dude9177!
  314. - Allow hierarchical view to be set in setOptions.
  315. - Fixed manipulation bar for mobile.
  316. - Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
  317. - Fixed #688: Added a css class to be able to distinguish buttons "Edit node"
  318. and "Edit edge".
  319. ### Timeline
  320. - Implemented orientation option `'both'`, displaying a time axis both on top
  321. and bottom (#665).
  322. - Implemented creating new range items by dragging in an empty space with the
  323. ctrl key down.
  324. - Implemented configuration option `order: function` to define a custom ordering
  325. for the items (see #538, #234).
  326. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  327. - Implemented method `getEventProperties(event)`.
  328. - Fixed not property initializing with a DataView for groups.
  329. - Merged add custom timebar functionality, thanks @aytech!
  330. - Fixed #664: end of item not restored when canceling a move event.
  331. - Fixed #609: reduce the left/right dragarea when an item range is very small,
  332. so you can still move it as a whole.
  333. - Fixed #676: misalignment of background items when using subgroups and the
  334. group label's height is larger than the contents.
  335. ### Graph2d
  336. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  337. - Implemented method `getEventProperties(event)`.
  338. ### DataSet/DataView
  339. - Implemented support for mapping field names. Thanks @spatialillusions.
  340. - Fixed #670: DataView not passing a data property on update events (see #670)
  341. ## 2015-02-11, version 3.10.0
  342. ### Network
  343. - Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the network div.
  344. - Improved images handling so broken images are shown on all references of images that are broken.
  345. - Added getConnectedNodes method.
  346. - Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
  347. - Added fade in of labels (on nodes) near the fontDrawThreshold.
  348. - Added nodes option to zoomExtent to zoom in on specific set of nodes.
  349. - Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
  350. - Added freezeSimulation method.
  351. - Added clusterByZoom option.
  352. - Added class name 'network-tooltip' to the tooltip, allowing custom styling.
  353. - Fixed bug when redrawing was not right on zoomed-out browsers.
  354. - Added opacity option to edges. Opacity is only used for the unselected state.
  355. - Fixed bug where selections from removed data elements persisted.
  356. ### Timeline
  357. - `Timeline.redraw()` now also recalculates the size of items.
  358. - Implemented option `snap: function` to customize snapping to nice dates
  359. when dragging items.
  360. - Implemented option `timeAxis: {scale: string, step: number}` to set a
  361. fixed scale.
  362. - Fixed width of range items not always being maintained when moving due to
  363. snapping to nice dates.
  364. - Fixed not being able to drag items to an other group on mobile devices.
  365. - Fixed `setWindow` not working when applying an interval larger than the
  366. configured `zoomMax`.
  367. ### DataSet/DataView
  368. - Added property `length` holding the total number of items to the `DataSet`
  369. and `DataView`.
  370. - Added a method `refresh()` to the `DataView`, to update filter results.
  371. - Fixed a bug in the `DataSet` returning an empty object instead of `null` when
  372. no item was found when using both a filter and specifying fields.
  373. ## 2015-01-16, version 3.9.1
  374. ### General
  375. - Fixed wrong distribution file deployed on the website and the downloadable
  376. zip file.
  377. ### Network
  378. - Fixed bug where opening a cluster with smoothCurves off caused one child to go crazy.
  379. - Fixed bug where zoomExtent does not work as expected.
  380. - Fixed nodes color data being overridden when having a group and a dataset update query.
  381. - Decoupled animation from physics simulation.
  382. - Fixed scroll being blocked if zoomable is false.
  383. ## 2015-01-16, version 3.9.0
  384. ### Network
  385. - Reverted change in image class, fixed bug #552
  386. - Improved (not neccesarily fixed) the fontFill offset between different browsers. #365
  387. - Fixed dashed lines on firefox on Unix systems
  388. - Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
  389. - Improved drawing of arrowheads on smooth curves. #349
  390. - Caught case where click originated on external DOM element and drag progressed to vis.
  391. - Added label stroke support to Nodes, Edges & Groups as per-object or global settings. Thank you @klmdb!
  392. - Reverted patch that made nodes return to 'default' setting if no group was assigned to fix issue #561. The correct way to 'remove' a group from a node is to assign it a different one.
  393. - Made the node/edge selected by the popup system the same as selected by the click-to-select system. Thank you @pavlos256!
  394. - Improved edit edge control nodes positions, altered style a little.
  395. - Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
  396. - Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
  397. - Added labelAlignment option to edges. Thanks @T-rav!
  398. - Close active sessions in dataManipulation when calling setData().
  399. - Fixed alignment issue with edgelabels
  400. ### Timeline
  401. - Added byUser flag to options of the rangechange and rangechanged event.
  402. ## 2015-01-09, version 3.8.0
  403. ### General
  404. - Updated to moment.js v2.9.0
  405. ### Network
  406. - Fixed flipping of hierarchical network on update when using RL and DU.
  407. - Added zoomExtentOnStabilize option to network.
  408. - Improved destroy function, added them to the examples.
  409. - Nodes now have bounding boxes that are used for zoomExtent.
  410. - Made physics more stable (albeit a little slower).
  411. - Added a check so only one 'activator' overlay is created on clickToUse.
  412. - Made global color options for edges overrule the inheritColors.
  413. - Improved cleaning up of the physics configuration on destroy and in options.
  414. - Made nodes who lost their group revert back to default color.
  415. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
  416. - Fixed bug where box shaped nodes did not use hover color.
  417. - Fixed Locales docs.
  418. - When hovering over a node that does not have a title, the title of one of the connected edges that HAS a title is no longer shown.
  419. - Fixed error in repulsion physics model.
  420. - Improved physics handling for smoother network simulation.
  421. - Fixed infinite loop when an image can not be found and no brokenImage is provided.
  422. - Added getBoundingBox method.
  423. - Community fix for SVG images in IE11, thanks @dponch!
  424. - Fixed repeating stabilized event when the network is already stabilized.
  425. - Added circularImages, thanks for the contribution @brendon1982!
  426. - Stopped infinite loop when brokenImage is also not available.
  427. - Changed util color functions so they don't need eval. Thanks @naskooskov!
  428. ### Graph2d
  429. - Fixed round-off errors of zero on the y-axis.
  430. - added show major/minor lines options to dataAxis.
  431. - Fixed adapting to width and height changes.
  432. - Added a check so only one 'activator' overlay is created on clickToUse.
  433. - DataAxis width option now draws correctly.
  434. ### Timeline
  435. - Implemented support for styling of the vertical grid.
  436. - Support for custom date formatting of the labels on the time axis.
  437. - added show major/minor lines options to timeline.
  438. - Added a check so only one 'activator' overlay is created on clickToUse.
  439. ### Graph3d
  440. - Fixed mouse coordinates for tooltips.
  441. ## 2014-12-09, version 3.7.2
  442. ### Timeline
  443. - Fixed zooming issue on mobile devices.
  444. ### Graph2D
  445. - Fixed infinite loop when clearing DataSet
  446. ### Network
  447. - Sidestepped double touch event from hammer (ugly.. but functional) causing
  448. strange behaviour in manipulation mode
  449. - Better cleanup after reconnecting edges in manipulation mode
  450. - Fixed recursion error with smooth edges that are connected to non-existent nodes
  451. - Added destroy method.
  452. ## 2014-11-28, version 3.7.1
  453. ### Timeline
  454. - Implemented selection of a range of items using Shift+Click.
  455. - Fixed content in range items may overflow range after zoom.
  456. - Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
  457. - Fixed configuring either `start` or `end`.
  458. - Fixed Timeline and Graph2d getting stuck in an infinite loop in some
  459. circumstances.
  460. - Fixed background items being selectable and editable when a height is set.
  461. ### Graph2D
  462. - Added `alignZeros` option to dataAxis with default value true.
  463. - Fixed bug with points drawn on bargraphs
  464. - Fixed docs
  465. - Fixed height increase on scrolling if only `graphHeight` is defined.
  466. ### Network
  467. - dragEnd event now does not give the selected nodes if only the viewport has been dragged #453
  468. - merged high DPI fix by @crubier, thanks!
  469. ## 2014-11-14, version 3.7.0
  470. ### Graph2D
  471. - Added points style for scatterplots and pointclouds.
  472. - Modularized the Graph2D draw styles.
  473. - Added a finishedRedraw event.
  474. ### Network
  475. - Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
  476. - Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
  477. ### Timeline
  478. - Added a finishedRedraw event.
  479. - Fixed the disappearing item bug.
  480. - Fixed keycharm issue.
  481. ## 2014-11-07, version 3.6.4
  482. ### General
  483. - Removed mousetrap due to Apache license, created keycharm and implemented it with vis.
  484. ### Timeline
  485. - Fixed height of background items when having a fixed or max height defined.
  486. - Fixed only one item being dragged when multiple items are selected.
  487. - Optimised a serious slowdown on performance since hidden dates.
  488. ### Network
  489. - Fixed onRelease with navigation option.
  490. - Fixed arrow heads not being colored.
  491. ### Graph2D
  492. - Fixed cleaning up of groups.
  493. - Throw error message when items are added before groups.
  494. - Made graphHeight automatic if height is defined AND if graphHeight is smaller than the center panel when height is defined as well.
  495. - Added new verticalDrag event for internal use, allowing the vertical scrolling of the grid lines on drag.
  496. - Fixed moving legend when postioned on the bottom and vertical dragging.
  497. - Optimised a serious slowdown on performance since hidden dates.
  498. - Accepted a large pull request from @cdjackson adding the following features (thank you!):
  499. - Titles on the DataAxis to explain what units you are using.
  500. - A style field for groups and datapoints so you can dynamically change styles.
  501. - A precision option to manually set the amount of decimals.
  502. - Two new examples showing the new features.
  503. ## 2014-10-28, version 3.6.3
  504. ### Timeline
  505. - Fixed background items not always be cleared when removing them.
  506. - Fixed visible items not always be displayed.
  507. - Performance improvements when doing a lot of changes at once in a DataSet.
  508. ### Network
  509. - Fixed dashed and arrow lines not using inheritColor.
  510. ### DataSet
  511. - Support for queueing of changes, and flushing them at once.
  512. - Implemented `DataSet.setOptions`. Only applicable for the `queue` options.
  513. ## 2014-10-24, version 3.6.2
  514. - Vis.js is now dual licensed under both Apache 2.0 and MIT.
  515. ## 2014-10-22, version 3.6.1
  516. ### Timeline
  517. - Fixed uneven stepsized with hidden dates.
  518. - Fixed multiple bugs with regards to hidden dates.
  519. - Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
  520. ## 2014-10-21, version 3.6.0
  521. ### Network
  522. - Title of nodes and edges can now be an HTML element too.
  523. - Renamed storePosition to storePositions. Added deprication message and old name still works.
  524. - Worked around hammer.js bug with multiple release listeners.
  525. - Improved cleaning up after manipulation toolbar.
  526. - Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
  527. - Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
  528. - Fixed node label becoming undefined.
  529. - Fixed cluster fontsize scaling.
  530. - Fixed cluster sector scaling.
  531. - Added oldHeight and oldWidth to resize event.
  532. ### Timeline
  533. - Implemented field `style` for both items and groups, to set a custom style for
  534. individual items.
  535. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
  536. - Fixed width of BackgroundItems not being reduced to 0 when zooming out.
  537. - Fixed onclick events in items not working.
  538. - Added hiddenDates to hide specific times and/or days in the timeline.
  539. ### DataSet
  540. - Event listeners of `update` now receive an extra property `data`,
  541. containing the changed fields of the changed items.
  542. ### Graph2d
  543. - Fixed height of legend when there are many items showing.
  544. ### Graph3d
  545. - Implemented options `xValueLabel`, `yValueLabel` and `zValueLabel` for custom labels along
  546. the x, y, z axis. Thanks @fabriziofortino.
  547. ## 2014-09-16, version 3.5.0
  548. ### Network
  549. - Fixed nodes not always being unfixed when using allowedToMove.
  550. - Added dragStart and dragEnd events.
  551. - Added edge selection on edge labels.
  552. ### Graph2d
  553. - Fixed dataAxis not showing large numbers correctly.
  554. ## 2014-09-12, version 3.4.2
  555. ### Network
  556. - Changed timings for zoomExtent animation.
  557. - Fixed possible cause of freezing graph when animating.
  558. - Added locked to focusOnNode and releaseNode().
  559. - Fixed minor bug in positioning of fontFill of nodes with certain shapes.
  560. - Added startStabilization event.
  561. ## 2014-09-11, version 3.4.1
  562. ### Network
  563. - Fix for introduced bug on zoomExtent navigation button.
  564. - Added animation to zoomExtent navigation button.
  565. - Improved cleaning of Hammer.js bindings.
  566. ### Timeline
  567. - Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
  568. ## 2014-09-10, version 3.4.0
  569. ### Graph2d
  570. - Fixed moment.js url in localization example.
  571. ### Network
  572. - Fixed some positioning issues with the close button of the manipulation menu.
  573. - Added fontFill to Nodes as it is in Edges.
  574. - Implemented support for broken image fallback. Thanks @sfairgrieve.
  575. - Added multiline labels to edges as they are implemented in nodes. Updated
  576. multiline example to show this.
  577. - Added animation and camera controls by the method .moveTo()
  578. - Added new event that fires when the animation is finished.
  579. - Added new example showing the new features of animation.
  580. - Added getScale() method.
  581. ### Timeline
  582. - Implemented support for templates.
  583. - Implemented a new item type: `'background'`. This can be used to mark periods
  584. with a background color and label.
  585. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
  586. - Fixed moment.js url in localization example.
  587. - Fixed `className` of groups not being updated when changed.
  588. - Fixed the `id` field of a new item not correctly generated.
  589. - Fixed newly added item ignored when returning an other object instance.
  590. - Fixed option `autoResize` not working on IE in case of changing visibility
  591. of the Timeline container element.
  592. - Fixed an overflow issue with the dots of BoxItems when using groups.
  593. - Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into
  594. account).
  595. - Renamed internal items from `ItemBox`, `ItemRange`, and `ItemPoint` to
  596. respectively `BoxItem`, `RangeItem`, and `PointItem`.
  597. - Fixed an error thrown when calling `destroy()`.
  598. ## 2014-08-29, version 3.3.0
  599. ### Timeline
  600. - Added localization support.
  601. - Implemented option `clickToUse`.
  602. - Implemented function `focus(id)` to center a specific item (or multiple items)
  603. on screen.
  604. - Implemented an option `focus` for `setSelection(ids, options)`, to immediately
  605. focus selected nodes.
  606. - Implemented function `moveTo(time, options)`.
  607. - Implemented animated range change for functions `fit`, `focus`, `setSelection`,
  608. and `setWindow`.
  609. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  610. - Implemented a new callback function `onMoving(item, callback)`.
  611. - Implemented support for option `align` for range items.
  612. - Fixed the `change` event sometimes being fired twice on IE10.
  613. - Fixed canceling moving an item to another group did not move the item
  614. back to the original group.
  615. - Fixed the `change` event sometimes being fired twice on IE10.
  616. - Fixed canceling moving an item to another group did not move the item
  617. back to the original group.
  618. ### Network
  619. - A fix in reading group properties for a node.
  620. - Fixed physics solving stopping when a support node was not moving.
  621. - Implemented localization support.
  622. - Implemented option `clickToUse`.
  623. - Improved the `stabilized` event, it's now firing after every stabilization
  624. with iteration count as parameter.
  625. - Fixed page scroll event not being blocked when moving around in Network
  626. using arrow keys.
  627. - Fixed an initial rendering before the graph has been stabilized.
  628. - Fixed bug where loading hierarchical data after initialization crashed network.
  629. - Added different layout method to the hierarchical system based on the direction of the edges.
  630. ### Graph2d
  631. - Implemented option `handleOverlap` to support overlap, sideBySide and stack.
  632. - Implemented two examples showing the `handleOverlap` functionality.
  633. - Implemented `customRange` for the Y axis and an example showing how it works.
  634. - Implemented localization support.
  635. - Implemented option `clickToUse`.
  636. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  637. - Implemented function `moveTo(time, options)`.
  638. - Fixed bugs.
  639. - Added groups.visibility functionality and an example showing how it works.
  640. ## 2014-08-14, version 3.2.0
  641. ### General
  642. - Refactored Timeline and Graph2d to use the same core.
  643. ### Graph2d
  644. - Added `visible` property to the groups.
  645. - Added `getLegend()` method.
  646. - Added `isGroupVisible()` method.
  647. - Fixed empty group bug.
  648. - Added `fit()` and `getItemRange()` methods.
  649. ### Timeline
  650. - Fixed items in groups sometimes being displayed but not positioned correctly.
  651. - Fixed a group "null" being displayed in IE when not using groups.
  652. ### Network
  653. - Fixed mass = 0 for nodes.
  654. - Revamped the options system. You can globally set options (network.setOptions) to update settings of nodes and edges that have not been specifically defined by the individual nodes and edges.
  655. - Disabled inheritColor when color information is set on an edge.
  656. - Tweaked examples.
  657. - Removed the global length property for edges. The edgelength is part of the physics system. Therefore, you have to change the springLength of the physics system to change the edge length. Individual edge lengths can still be defined.
  658. - Removed global edge length definition form examples.
  659. - Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
  660. - Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
  661. ## 2014-07-22, version 3.1.0
  662. ### General
  663. - Refactored the code to commonjs modules, which are browserifyable. This allows
  664. to create custom builds.
  665. ### Timeline
  666. - Implemented function `getVisibleItems()`, which returns the items visible
  667. in the current window.
  668. - Added options `margin.item.horizontal` and `margin.item.vertical`, which
  669. allows to specify different margins horizontally/vertically.
  670. - Removed check for number of arguments in callbacks `onAdd`, `onUpdate`,
  671. `onRemove`, and `onMove`.
  672. - Fixed items in groups sometimes being displayed but not positioned correctly.
  673. - Fixed range where the `end` of the first is equal to the `start` of the second
  674. sometimes being stacked instead of put besides each other when `item.margin=0`
  675. due to round-off errors.
  676. ### Network (formerly named Graph)
  677. - Expanded smoothCurves options for improved support for large clusters.
  678. - Added multiple types of smoothCurve drawing for greatly improved performance.
  679. - Option for inherited edge colors from connected nodes.
  680. - Option to disable the drawing of nodes or edges on drag.
  681. - Fixed support nodes not being cleaned up if edges are removed.
  682. - Improved edge selection detection for long smooth curves.
  683. - Fixed dot radius bug.
  684. - Updated max velocity of nodes to three times it's original value.
  685. - Made "stabilized" event fire every time the network stabilizes.
  686. - Fixed drift in dragging nodes while zooming.
  687. - Fixed recursively constructing of hierarchical layouts.
  688. - Added borderWidth option for nodes.
  689. - Implemented new Hierarchical view solver.
  690. - Fixed an issue with selecting nodes when the web page is scrolled down.
  691. - Added Gephi JSON parser
  692. - Added Neighbour Highlight example
  693. - Added Import From Gephi example
  694. - Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
  695. ### DataSet
  696. - Added .get() returnType option to return as JSON object, Array or Google
  697. DataTable.
  698. ## 2014-07-07, version 3.0.0
  699. ### Timeline
  700. - Implemented support for displaying a `title` for both items and groups.
  701. - Fixed auto detected item type being preferred over the global item `type`.
  702. - Throws an error when constructing without new keyword.
  703. - Removed the 'rangeoverflow' item type. Instead, one can use a regular range
  704. and change css styling of the item contents to:
  705. .vis.timeline .item.range .content {
  706. overflow: visible;
  707. }
  708. - Fixed the height of background and foreground panels of groups.
  709. - Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
  710. - Fixed `DataView` not working in Timeline.
  711. ### Network (formerly named Graph)
  712. - Renamed `Graph` to `Network` to prevent confusion with the visualizations
  713. `Graph2d` and `Graph3d`.
  714. - Renamed option `dragGraph` to `dragNetwork`.
  715. - Now throws an error when constructing without new keyword.
  716. - Added pull request from Vukk, user can now define the edge width multiplier
  717. when selected.
  718. - Fixed `graph.storePositions()`.
  719. - Extended Selection API with `selectNodes` and `selectEdges`, deprecating
  720. `setSelection`.
  721. - Fixed multiline labels.
  722. - Changed hierarchical physics solver and updated docs.
  723. ### Graph2d
  724. - Added first iteration of the Graph2d.
  725. ### Graph3d
  726. - Now throws an error when constructing without new keyword.
  727. ## 2014-06-19, version 2.0.0
  728. ### Timeline
  729. - Implemented function `destroy` to neatly cleanup a Timeline.
  730. - Implemented support for dragging the timeline contents vertically.
  731. - Implemented options `zoomable` and `moveable`.
  732. - Changed default value of option `showCurrentTime` to true.
  733. - Internal refactoring and simplification of the code.
  734. - Fixed property `className` of groups not being applied to related contents and
  735. background elements, and not being updated once applied.
  736. ### Graph
  737. - Reduced the timestep a little for smoother animations.
  738. - Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
  739. - Forced typecast of fontSize to Number.
  740. - Added editing of edges using the data manipulation toolkit.
  741. ### DataSet
  742. - Renamed option `convert` to `type`.
  743. ## 2014-06-06, version 1.1.0
  744. ### Timeline
  745. - Select event now triggers repeatedly when selecting an already selected item.
  746. - Renamed `Timeline.repaint()` to `Timeline.redraw()` to be consistent with
  747. the other visualisations of vis.js.
  748. - Fixed `Timeline.clear()` not resetting a configured `options.start` and
  749. `options.end`.
  750. ### Graph
  751. - Fixed error with zero nodes with hierarchical layout.
  752. - Added focusOnNode function.
  753. - Added hover option.
  754. - Added dragNodes option. Renamed movebale to dragGraph option.
  755. - Added hover events (hoverNode, blurNode).
  756. ### Graph3D
  757. - Ported Graph3D from Chap Links Library.
  758. ## 2014-05-28, version 1.0.2
  759. ### Timeline
  760. - Implemented option `minHeight`, similar to option `maxHeight`.
  761. - Implemented a method `clear([what])`, to clear items, groups, and configuration
  762. of a Timeline instance.
  763. - Added function `repaint()` to force a repaint of the Timeline.
  764. - Some tweaks in snapping dragged items to nice dates.
  765. - Made the instance of moment.js packaged with vis.js accessibly via `vis.moment`.
  766. - A newly created item is initialized with `end` property when option `type`
  767. is `"range"` or `"rangeoverflow"`.
  768. - Fixed a bug in replacing the DataSet of groups via `Timeline.setGroups(groups)`.
  769. - Fixed a bug when rendering the Timeline inside a hidden container.
  770. - Fixed axis scale being determined wrongly for a second Timeline in a single page.
  771. ### Graph
  772. - Added zoomable and moveable options.
  773. - Changes setOptions to avoid resetting view.
  774. - Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
  775. ## 2014-05-09, version 1.0.1
  776. ### Timeline
  777. - Fixed width of items with type `rangeoverflow`.
  778. - Fixed a bug wrongly rendering invisible items after updating them.
  779. ### Graph
  780. - Added coordinate conversion from DOM to Canvas.
  781. - Fixed bug where the graph stopped animation after settling in playing with physics.
  782. - Fixed bug where hierarchical physics properties were not handled.
  783. - Added events for change of view and zooming.
  784. ## 2014-05-02, version 1.0.0
  785. ### Timeline
  786. - Large refactoring of the Timeline, simplifying the code.
  787. - Great performance improvements.
  788. - Improved layout of box-items inside groups.
  789. - Items can now be dragged from one group to another.
  790. - Implemented option `stack` to enable/disable stacking of items.
  791. - Implemented function `fit`, which sets the Timeline window such that it fits
  792. all items.
  793. - Option `editable` can now be used to enable/disable individual manipulation
  794. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  795. - Function `setWindow` now accepts an object with properties `start` and `end`.
  796. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  797. rather than when the Timeline is actually resized.
  798. - Fixed `select` event fired repeatedly when clicking an empty place on the
  799. Timeline, deselecting selected items).
  800. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  801. - Fixed an offset in newly created items when using groups.
  802. - Fixed height of a group not reckoning with the height of the group label.
  803. - Option `order` is now deprecated. This was needed for performance improvements.
  804. - More examples added.
  805. - Minor bug fixes.
  806. ### Graph
  807. - Added recalculate hierarchical layout to update node event.
  808. - Added arrowScaleFactor to scale the arrows on the edges.
  809. ### DataSet
  810. - A DataSet can now be constructed with initial data, like
  811. `new DataSet(data, options)`.
  812. ## 2014-04-18, version 0.7.4
  813. ### Graph
  814. - Fixed IE9 bug.
  815. - Style fixes.
  816. - Minor bug fixes.
  817. ## 2014-04-16, version 0.7.3
  818. ### Graph
  819. - Fixed color bug.
  820. - Added pull requests from kannonboy and vierja: tooltip styling, label fill
  821. color.
  822. ## 2014-04-09, version 0.7.2
  823. ### Graph
  824. - Fixed edge select bug.
  825. - Fixed zoom bug on empty initialization.
  826. ## 2014-03-27, version 0.7.1
  827. ### Graph
  828. - Fixed edge color bug.
  829. - Fixed select event bug.
  830. - Clarified docs, stressing importance of css inclusion for correct display of
  831. navigation an manipulation icons.
  832. - Improved and expanded playing with physics (configurePhysics option).
  833. - Added highlights to navigation icons if the corresponding key is pressed.
  834. - Added freezeForStabilization option to improve stabilization with cached
  835. positions.
  836. ## 2014-03-07, version 0.7.0
  837. ### Graph
  838. - Changed navigation CSS. Icons are now always correctly positioned.
  839. - Added stabilizationIterations option to graph.
  840. - Added storePosition() method to save the XY positions of nodes in the DataSet.
  841. - Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is
  842. required for initializing nodes from hierarchical layouts after
  843. storePosition().
  844. - Added color options for the edges.
  845. ## 2014-03-06, version 0.6.1
  846. ### Graph
  847. - Bugfix graphviz examples.
  848. - Bugfix labels position for smooth curves.
  849. - Tweaked graphviz example physics.
  850. - Updated physics documentation to stress importance of configurePhysics.
  851. ### Timeline
  852. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when
  853. setting them to zero.
  854. - Some clarifications in the documentation.
  855. ## 2014-03-05, version 0.6.0
  856. ### Graph
  857. - Added Physics Configuration option. This makes tweaking the physics system to
  858. suit your needs easier.
  859. - Click and doubleClick events.
  860. - Initial zoom bugfix.
  861. - Directions for Hierarchical layout.
  862. - Refactoring and bugfixes.
  863. ## 2014-02-20, version 0.5.1
  864. - Fixed broken bower module.
  865. ## 2014-02-20, version 0.5.0
  866. ### Timeline
  867. - Editable Items: drag items, add new items, update items, and remove items.
  868. - Implemented options `selectable`, `editable`.
  869. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  870. - Multiple items can be selected using ctrl+click or shift+click.
  871. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  872. - Fixed scroll to zoom not working on IE in standards mode.
  873. ### Graph
  874. - Editable nodes and edges: create, update, and remove them.
  875. - Support for smooth, curved edges (on by default).
  876. - Performance improvements.
  877. - Fixed scroll to zoom not working on IE in standards mode.
  878. - Added hierarchical layout option.
  879. - Overhauled physics system, now using Barnes-Hut simulation by default. Great
  880. performance gains.
  881. - Modified clustering system to give better results.
  882. - Adaptive performance system to increase visual performance (60fps target).
  883. ### DataSet
  884. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  885. ## 2014-01-31, version 0.4.0
  886. ### Timeline
  887. - Implemented functions `on` and `off` to create event listeners for events
  888. `rangechange`, `rangechanged`, and `select`.
  889. - Implemented function `select` to get and set the selected items.
  890. - Items can be selected by clicking them, muti-select by holding them.
  891. - Fixed non working `start` and `end` options.
  892. ### Graph
  893. - Fixed longstanding bug in the force calculation, increasing simulation
  894. stability and fluidity.
  895. - Reworked the calculation of the Graph, increasing performance for larger
  896. datasets (up to 10x!).
  897. - Support for automatic clustering in Graph to handle large (>50000) datasets
  898. without losing performance.
  899. - Added automatic initial zooming to Graph, to more easily view large amounts
  900. of data.
  901. - Added local declustering to Graph, freezing the simulation of nodes outside
  902. of the cluster.
  903. - Added support for key-bindings by including mouseTrap in Graph.
  904. - Added navigation controls.
  905. - Added keyboard navigation.
  906. - Implemented functions `on` and `off` to create event listeners for event
  907. `select`.
  908. ## 2014-01-14, version 0.3.0
  909. - Moved the generated library to folder `./dist`
  910. - Css stylesheet must be loaded explicitly now.
  911. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  912. - Implemented touch support for Timeline.
  913. - Fixed broken Timeline options `min` and `max`.
  914. - Fixed not being able to load vis.js in node.js.
  915. ## 2013-09-20, version 0.2.0
  916. - Implemented full touch support for Graph.
  917. - Fixed initial empty range in the Timeline in case of a single item.
  918. - Fixed field `className` not working for items.
  919. ## 2013-06-20, version 0.1.0
  920. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  921. and edges instead of a row based array internally. Methods getSelection and
  922. setSelection of Graph now accept a list with ids instead of rows.
  923. - Graph is now robust against edges pointing to non-existing nodes, which
  924. can occur easily while dynamically adding/removing nodes and edges.
  925. - Implemented basic support for groups in the Timeline.
  926. - Added documentation on DataSet and DataView.
  927. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  928. - Improved date conversion.
  929. - Renamed DataSet option `fieldTypes` to `convert`.
  930. - Renamed function `vis.util.cast` to `vis.util.convert`.
  931. ## 2013-06-07, version 0.0.9
  932. - First working version of the Graph imported from the old library.
  933. - Documentation added for both Timeline and Graph.
  934. ## 2013-05-03, version 0.0.8
  935. - Performance improvements: only visible items are rendered.
  936. - Minor bug fixes and improvements.
  937. ## 2013-04-25, version 0.0.7
  938. - Sanitized the published packages on npm and bower.
  939. ## 2013-04-25, version 0.0.6
  940. - Css is now packaged in the javascript file, and automatically loaded.
  941. - The library uses node style dependency management for modules now, used
  942. with Browserify.
  943. ## 2013-04-16, version 0.0.5
  944. - First working version of the Timeline.
  945. - Website created.