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.

1459 lines
51 KiB

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