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.

1503 lines
52 KiB

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