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.

1506 lines
52 KiB

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