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.

1399 lines
49 KiB

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