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.

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