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.

1344 lines
47 KiB

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