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.

1489 lines
52 KiB

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