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.

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