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.

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