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.

935 lines
33 KiB

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
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 3.11.1-SNAPSHOT
  4. ### Network
  5. - Fixed support for DataSet with custom id fields (option `fieldId`).
  6. ### Timeline
  7. - Orientation can now be configured separately for axis and items.
  8. - The event handlers `onMove` and `onMoving` are now invoked with all item
  9. properties as argument, and can be used to update all properties (like
  10. content, className, etc) and add new properties as well.
  11. - Fixed #654: removed unnecessary minimum height for groups, takes the
  12. height of the group label as minimum height now.
  13. - Fixed #708: detecting wrong group when page is scrolled.
  14. - Fixed #733: background items being selected on shift+click.
  15. ## 2015-03-05, version 3.11.0
  16. ### Network
  17. - (added gradient coloring for lines, but set for release in 4.0 due to required refactoring of options)
  18. - Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
  19. - 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.
  20. - Added two new static smooth curves modes: curveCW and curve CCW.
  21. - Added request redraw for certain internal processes to reduce number of draw calls (performance improvements!).
  22. - Added pull request for usage of Icons. Thanks @Dude9177!
  23. - Allow hierarchical view to be set in setOptions.
  24. - Fixed manipulation bar for mobile.
  25. - Fixed #670: Bug when updating data in a DataSet, when Network is connected to the DataSet via a DataView.
  26. - Fixed #688: Added a css class to be able to distinguish buttons "Edit node"
  27. and "Edit edge".
  28. ### Timeline
  29. - Implemented orientation option `'both'`, displaying a time axis both on top
  30. and bottom (#665).
  31. - Implemented creating new range items by dragging in an empty space with the
  32. ctrl key down.
  33. - Implemented configuration option `order: function` to define a custom ordering
  34. for the items (see #538, #234).
  35. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  36. - Implemented method `getEventProperties(event)`.
  37. - Fixed not property initializing with a DataView for groups.
  38. - Merged add custom timebar functionality, thanks @aytech!
  39. - Fixed #664: end of item not restored when canceling a move event.
  40. - Fixed #609: reduce the left/right dragarea when an item range is very small,
  41. so you can still move it as a whole.
  42. - Fixed #676: misalignment of background items when using subgroups and the
  43. group label's height is larger than the contents.
  44. ### Graph2d
  45. - Implemented events `click`, `doubleClick`, and `contextMenu`.
  46. - Implemented method `getEventProperties(event)`.
  47. ### DataSet/DataView
  48. - Implemented support for mapping field names. Thanks @spatialillusions.
  49. - Fixed #670: DataView not passing a data property on update events (see #670)
  50. ## 2015-02-11, version 3.10.0
  51. ### Network
  52. - Added option bindToWindow (default true) to choose whether the keyboard binds are global or to the network div.
  53. - Improved images handling so broken images are shown on all references of images that are broken.
  54. - Added getConnectedNodes method.
  55. - Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
  56. - Added fade in of labels (on nodes) near the fontDrawThreshold.
  57. - Added nodes option to zoomExtent to zoom in on specific set of nodes.
  58. - Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
  59. - Added freezeSimulation method.
  60. - Added clusterByZoom option.
  61. - Added class name 'network-tooltip' to the tooltip, allowing custom styling.
  62. - Fixed bug when redrawing was not right on zoomed-out browsers.
  63. - Added opacity option to edges. Opacity is only used for the unselected state.
  64. - Fixed bug where selections from removed data elements persisted.
  65. ### Timeline
  66. - `Timeline.redraw()` now also recalculates the size of items.
  67. - Implemented option `snap: function` to customize snapping to nice dates
  68. when dragging items.
  69. - Implemented option `timeAxis: {scale: string, step: number}` to set a
  70. fixed scale.
  71. - Fixed width of range items not always being maintained when moving due to
  72. snapping to nice dates.
  73. - Fixed not being able to drag items to an other group on mobile devices.
  74. - Fixed `setWindow` not working when applying an interval larger than the
  75. configured `zoomMax`.
  76. ### DataSet/DataView
  77. - Added property `length` holding the total number of items to the `DataSet`
  78. and `DataView`.
  79. - Added a method `refresh()` to the `DataView`, to update filter results.
  80. - Fixed a bug in the `DataSet` returning an empty object instead of `null` when
  81. no item was found when using both a filter and specifying fields.
  82. ## 2015-01-16, version 3.9.1
  83. ### General
  84. - Fixed wrong distribution file deployed on the website and the downloadable
  85. zip file.
  86. ### Network
  87. - Fixed bug where opening a cluster with smoothCurves off caused one child to go crazy.
  88. - Fixed bug where zoomExtent does not work as expected.
  89. - Fixed nodes color data being overridden when having a group and a dataset update query.
  90. - Decoupled animation from physics simulation.
  91. - Fixed scroll being blocked if zoomable is false.
  92. ## 2015-01-16, version 3.9.0
  93. ### Network
  94. - Reverted change in image class, fixed bug #552
  95. - Improved (not neccesarily fixed) the fontFill offset between different browsers. #365
  96. - Fixed dashed lines on firefox on Unix systems
  97. - Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
  98. - Improved drawing of arrowheads on smooth curves. #349
  99. - Caught case where click originated on external DOM element and drag progressed to vis.
  100. - Added label stroke support to Nodes, Edges & Groups as per-object or global settings. Thank you @klmdb!
  101. - 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.
  102. - Made the node/edge selected by the popup system the same as selected by the click-to-select system. Thank you @pavlos256!
  103. - Improved edit edge control nodes positions, altered style a little.
  104. - Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
  105. - Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
  106. - Added labelAlignment option to edges. Thanks @T-rav!
  107. - Close active sessions in dataManipulation when calling setData().
  108. - Fixed alignment issue with edgelabels
  109. ### Timeline
  110. - Added byUser flag to options of the rangechange and rangechanged event.
  111. ## 2015-01-09, version 3.8.0
  112. ### General
  113. - Updated to moment.js v2.9.0
  114. ### Network
  115. - Fixed flipping of hierarchical network on update when using RL and DU.
  116. - Added zoomExtentOnStabilize option to network.
  117. - Improved destroy function, added them to the examples.
  118. - Nodes now have bounding boxes that are used for zoomExtent.
  119. - Made physics more stable (albeit a little slower).
  120. - Added a check so only one 'activator' overlay is created on clickToUse.
  121. - Made global color options for edges overrule the inheritColors.
  122. - Improved cleaning up of the physics configuration on destroy and in options.
  123. - Made nodes who lost their group revert back to default color.
  124. - Changed group behaviour, groups now extend the options, not replace. This allows partial defines of color.
  125. - Fixed bug where box shaped nodes did not use hover color.
  126. - Fixed Locales docs.
  127. - 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.
  128. - Fixed error in repulsion physics model.
  129. - Improved physics handling for smoother network simulation.
  130. - Fixed infinite loop when an image can not be found and no brokenImage is provided.
  131. - Added getBoundingBox method.
  132. - Community fix for SVG images in IE11, thanks @dponch!
  133. - Fixed repeating stabilized event when the network is already stabilized.
  134. - Added circularImages, thanks for the contribution @brendon1982!
  135. - Stopped infinite loop when brokenImage is also not available.
  136. - Changed util color functions so they don't need eval. Thanks @naskooskov!
  137. ### Graph2d
  138. - Fixed round-off errors of zero on the y-axis.
  139. - added show major/minor lines options to dataAxis.
  140. - Fixed adapting to width and height changes.
  141. - Added a check so only one 'activator' overlay is created on clickToUse.
  142. - DataAxis width option now draws correctly.
  143. ### Timeline
  144. - Implemented support for styling of the vertical grid.
  145. - Support for custom date formatting of the labels on the time axis.
  146. - added show major/minor lines options to timeline.
  147. - Added a check so only one 'activator' overlay is created on clickToUse.
  148. ### Graph3d
  149. - Fixed mouse coordinates for tooltips.
  150. ## 2014-12-09, version 3.7.2
  151. ### Timeline
  152. - Fixed zooming issue on mobile devices.
  153. ### Graph2D
  154. - Fixed infinite loop when clearing DataSet
  155. ### Network
  156. - Sidestepped double touch event from hammer (ugly.. but functional) causing
  157. strange behaviour in manipulation mode
  158. - Better cleanup after reconnecting edges in manipulation mode
  159. - Fixed recursion error with smooth edges that are connected to non-existent nodes
  160. - Added destroy method.
  161. ## 2014-11-28, version 3.7.1
  162. ### Timeline
  163. - Implemented selection of a range of items using Shift+Click.
  164. - Fixed content in range items may overflow range after zoom.
  165. - Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
  166. - Fixed configuring either `start` or `end`.
  167. - Fixed Timeline and Graph2d getting stuck in an infinite loop in some
  168. circumstances.
  169. - Fixed background items being selectable and editable when a height is set.
  170. ### Graph2D
  171. - Added `alignZeros` option to dataAxis with default value true.
  172. - Fixed bug with points drawn on bargraphs
  173. - Fixed docs
  174. - Fixed height increase on scrolling if only `graphHeight` is defined.
  175. ### Network
  176. - dragEnd event now does not give the selected nodes if only the viewport has been dragged #453
  177. - merged high DPI fix by @crubier, thanks!
  178. ## 2014-11-14, version 3.7.0
  179. ### Graph2D
  180. - Added points style for scatterplots and pointclouds.
  181. - Modularized the Graph2D draw styles.
  182. - Added a finishedRedraw event.
  183. ### Network
  184. - Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
  185. - Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
  186. ### Timeline
  187. - Added a finishedRedraw event.
  188. - Fixed the disappearing item bug.
  189. - Fixed keycharm issue.
  190. ## 2014-11-07, version 3.6.4
  191. ### General
  192. - Removed mousetrap due to Apache license, created keycharm and implemented it with vis.
  193. ### Timeline
  194. - Fixed height of background items when having a fixed or max height defined.
  195. - Fixed only one item being dragged when multiple items are selected.
  196. - Optimised a serious slowdown on performance since hidden dates.
  197. ### Network
  198. - Fixed onRelease with navigation option.
  199. - Fixed arrow heads not being colored.
  200. ### Graph2D
  201. - Fixed cleaning up of groups.
  202. - Throw error message when items are added before groups.
  203. - Made graphHeight automatic if height is defined AND if graphHeight is smaller than the center panel when height is defined as well.
  204. - Added new verticalDrag event for internal use, allowing the vertical scrolling of the grid lines on drag.
  205. - Fixed moving legend when postioned on the bottom and vertical dragging.
  206. - Optimised a serious slowdown on performance since hidden dates.
  207. - Accepted a large pull request from @cdjackson adding the following features (thank you!):
  208. - Titles on the DataAxis to explain what units you are using.
  209. - A style field for groups and datapoints so you can dynamically change styles.
  210. - A precision option to manually set the amount of decimals.
  211. - Two new examples showing the new features.
  212. ## 2014-10-28, version 3.6.3
  213. ### Timeline
  214. - Fixed background items not always be cleared when removing them.
  215. - Fixed visible items not always be displayed.
  216. - Performance improvements when doing a lot of changes at once in a DataSet.
  217. ### Network
  218. - Fixed dashed and arrow lines not using inheritColor.
  219. ### DataSet
  220. - Support for queueing of changes, and flushing them at once.
  221. - Implemented `DataSet.setOptions`. Only applicable for the `queue` options.
  222. ## 2014-10-24, version 3.6.2
  223. - Vis.js is now dual licensed under both Apache 2.0 and MIT.
  224. ## 2014-10-22, version 3.6.1
  225. ### Timeline
  226. - Fixed uneven stepsized with hidden dates.
  227. - Fixed multiple bugs with regards to hidden dates.
  228. - Fixed subgroups and added subgroup sorting. Subgroup labels will be in future releases.
  229. ## 2014-10-21, version 3.6.0
  230. ### Network
  231. - Title of nodes and edges can now be an HTML element too.
  232. - Renamed storePosition to storePositions. Added deprication message and old name still works.
  233. - Worked around hammer.js bug with multiple release listeners.
  234. - Improved cleaning up after manipulation toolbar.
  235. - Added getPositions() method to get the position of all nodes or some of them if specific Ids are supplied.
  236. - Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
  237. - Fixed node label becoming undefined.
  238. - Fixed cluster fontsize scaling.
  239. - Fixed cluster sector scaling.
  240. - Added oldHeight and oldWidth to resize event.
  241. ### Timeline
  242. - Implemented field `style` for both items and groups, to set a custom style for
  243. individual items.
  244. - Fixed height of BackgroundItems not being 100% when timeline has a fixed height.
  245. - Fixed width of BackgroundItems not being reduced to 0 when zooming out.
  246. - Fixed onclick events in items not working.
  247. - Added hiddenDates to hide specific times and/or days in the timeline.
  248. ### DataSet
  249. - Event listeners of `update` now receive an extra property `data`,
  250. containing the changed fields of the changed items.
  251. ### Graph2d
  252. - Fixed height of legend when there are many items showing.
  253. ### Graph3d
  254. - Implemented options `xValueLabel`, `yValueLabel` and `zValueLabel` for custom labels along
  255. the x, y, z axis. Thanks @fabriziofortino.
  256. ## 2014-09-16, version 3.5.0
  257. ### Network
  258. - Fixed nodes not always being unfixed when using allowedToMove.
  259. - Added dragStart and dragEnd events.
  260. - Added edge selection on edge labels.
  261. ### Graph2d
  262. - Fixed dataAxis not showing large numbers correctly.
  263. ## 2014-09-12, version 3.4.2
  264. ### Network
  265. - Changed timings for zoomExtent animation.
  266. - Fixed possible cause of freezing graph when animating.
  267. - Added locked to focusOnNode and releaseNode().
  268. - Fixed minor bug in positioning of fontFill of nodes with certain shapes.
  269. - Added startStabilization event.
  270. ## 2014-09-11, version 3.4.1
  271. ### Network
  272. - Fix for introduced bug on zoomExtent navigation button.
  273. - Added animation to zoomExtent navigation button.
  274. - Improved cleaning of Hammer.js bindings.
  275. ### Timeline
  276. - Fixed a bug in IE freezing when margin.item and margin.axis where both 0.
  277. ## 2014-09-10, version 3.4.0
  278. ### Graph2d
  279. - Fixed moment.js url in localization example.
  280. ### Network
  281. - Fixed some positioning issues with the close button of the manipulation menu.
  282. - Added fontFill to Nodes as it is in Edges.
  283. - Implemented support for broken image fallback. Thanks @sfairgrieve.
  284. - Added multiline labels to edges as they are implemented in nodes. Updated
  285. multiline example to show this.
  286. - Added animation and camera controls by the method .moveTo()
  287. - Added new event that fires when the animation is finished.
  288. - Added new example showing the new features of animation.
  289. - Added getScale() method.
  290. ### Timeline
  291. - Implemented support for templates.
  292. - Implemented a new item type: `'background'`. This can be used to mark periods
  293. with a background color and label.
  294. - Implemented support for attaching HTML attributes to items. Thanks @dturkenk.
  295. - Fixed moment.js url in localization example.
  296. - Fixed `className` of groups not being updated when changed.
  297. - Fixed the `id` field of a new item not correctly generated.
  298. - Fixed newly added item ignored when returning an other object instance.
  299. - Fixed option `autoResize` not working on IE in case of changing visibility
  300. of the Timeline container element.
  301. - Fixed an overflow issue with the dots of BoxItems when using groups.
  302. - Fixed a horizontal 1-pixel offset in the items (border width wasn't taken into
  303. account).
  304. - Renamed internal items from `ItemBox`, `ItemRange`, and `ItemPoint` to
  305. respectively `BoxItem`, `RangeItem`, and `PointItem`.
  306. - Fixed an error thrown when calling `destroy()`.
  307. ## 2014-08-29, version 3.3.0
  308. ### Timeline
  309. - Added localization support.
  310. - Implemented option `clickToUse`.
  311. - Implemented function `focus(id)` to center a specific item (or multiple items)
  312. on screen.
  313. - Implemented an option `focus` for `setSelection(ids, options)`, to immediately
  314. focus selected nodes.
  315. - Implemented function `moveTo(time, options)`.
  316. - Implemented animated range change for functions `fit`, `focus`, `setSelection`,
  317. and `setWindow`.
  318. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  319. - Implemented a new callback function `onMoving(item, callback)`.
  320. - Implemented support for option `align` for range items.
  321. - Fixed the `change` event sometimes being fired twice on IE10.
  322. - Fixed canceling moving an item to another group did not move the item
  323. back to the original group.
  324. - Fixed the `change` event sometimes being fired twice on IE10.
  325. - Fixed canceling moving an item to another group did not move the item
  326. back to the original group.
  327. ### Network
  328. - A fix in reading group properties for a node.
  329. - Fixed physics solving stopping when a support node was not moving.
  330. - Implemented localization support.
  331. - Implemented option `clickToUse`.
  332. - Improved the `stabilized` event, it's now firing after every stabilization
  333. with iteration count as parameter.
  334. - Fixed page scroll event not being blocked when moving around in Network
  335. using arrow keys.
  336. - Fixed an initial rendering before the graph has been stabilized.
  337. - Fixed bug where loading hierarchical data after initialization crashed network.
  338. - Added different layout method to the hierarchical system based on the direction of the edges.
  339. ### Graph2d
  340. - Implemented option `handleOverlap` to support overlap, sideBySide and stack.
  341. - Implemented two examples showing the `handleOverlap` functionality.
  342. - Implemented `customRange` for the Y axis and an example showing how it works.
  343. - Implemented localization support.
  344. - Implemented option `clickToUse`.
  345. - Implemented functions `setCurrentTime(date)` and `getCurrentTime()`.
  346. - Implemented function `moveTo(time, options)`.
  347. - Fixed bugs.
  348. - Added groups.visibility functionality and an example showing how it works.
  349. ## 2014-08-14, version 3.2.0
  350. ### General
  351. - Refactored Timeline and Graph2d to use the same core.
  352. ### Graph2d
  353. - Added `visible` property to the groups.
  354. - Added `getLegend()` method.
  355. - Added `isGroupVisible()` method.
  356. - Fixed empty group bug.
  357. - Added `fit()` and `getItemRange()` methods.
  358. ### Timeline
  359. - Fixed items in groups sometimes being displayed but not positioned correctly.
  360. - Fixed a group "null" being displayed in IE when not using groups.
  361. ### Network
  362. - Fixed mass = 0 for nodes.
  363. - 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.
  364. - Disabled inheritColor when color information is set on an edge.
  365. - Tweaked examples.
  366. - 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.
  367. - Removed global edge length definition form examples.
  368. - Removed onclick and onrelease for navigation and switched to Hammer.js (fixing touchscreen interaction with navigation).
  369. - Fixed error on adding an edge without having created the nodes it should be connected to (in the case of dynamic smooth curves).
  370. ## 2014-07-22, version 3.1.0
  371. ### General
  372. - Refactored the code to commonjs modules, which are browserifyable. This allows
  373. to create custom builds.
  374. ### Timeline
  375. - Implemented function `getVisibleItems()`, which returns the items visible
  376. in the current window.
  377. - Added options `margin.item.horizontal` and `margin.item.vertical`, which
  378. allows to specify different margins horizontally/vertically.
  379. - Removed check for number of arguments in callbacks `onAdd`, `onUpdate`,
  380. `onRemove`, and `onMove`.
  381. - Fixed items in groups sometimes being displayed but not positioned correctly.
  382. - Fixed range where the `end` of the first is equal to the `start` of the second
  383. sometimes being stacked instead of put besides each other when `item.margin=0`
  384. due to round-off errors.
  385. ### Network (formerly named Graph)
  386. - Expanded smoothCurves options for improved support for large clusters.
  387. - Added multiple types of smoothCurve drawing for greatly improved performance.
  388. - Option for inherited edge colors from connected nodes.
  389. - Option to disable the drawing of nodes or edges on drag.
  390. - Fixed support nodes not being cleaned up if edges are removed.
  391. - Improved edge selection detection for long smooth curves.
  392. - Fixed dot radius bug.
  393. - Updated max velocity of nodes to three times it's original value.
  394. - Made "stabilized" event fire every time the network stabilizes.
  395. - Fixed drift in dragging nodes while zooming.
  396. - Fixed recursively constructing of hierarchical layouts.
  397. - Added borderWidth option for nodes.
  398. - Implemented new Hierarchical view solver.
  399. - Fixed an issue with selecting nodes when the web page is scrolled down.
  400. - Added Gephi JSON parser
  401. - Added Neighbour Highlight example
  402. - Added Import From Gephi example
  403. - Enabled color parsing for nodes when supplied with rgb(xxx,xxx,xxx) value.
  404. ### DataSet
  405. - Added .get() returnType option to return as JSON object, Array or Google
  406. DataTable.
  407. ## 2014-07-07, version 3.0.0
  408. ### Timeline
  409. - Implemented support for displaying a `title` for both items and groups.
  410. - Fixed auto detected item type being preferred over the global item `type`.
  411. - Throws an error when constructing without new keyword.
  412. - Removed the 'rangeoverflow' item type. Instead, one can use a regular range
  413. and change css styling of the item contents to:
  414. .vis.timeline .item.range .content {
  415. overflow: visible;
  416. }
  417. - Fixed the height of background and foreground panels of groups.
  418. - Fixed ranges in the Timeline sometimes overlapping when dragging the Timeline.
  419. - Fixed `DataView` not working in Timeline.
  420. ### Network (formerly named Graph)
  421. - Renamed `Graph` to `Network` to prevent confusion with the visualizations
  422. `Graph2d` and `Graph3d`.
  423. - Renamed option `dragGraph` to `dragNetwork`.
  424. - Now throws an error when constructing without new keyword.
  425. - Added pull request from Vukk, user can now define the edge width multiplier
  426. when selected.
  427. - Fixed `graph.storePositions()`.
  428. - Extended Selection API with `selectNodes` and `selectEdges`, deprecating
  429. `setSelection`.
  430. - Fixed multiline labels.
  431. - Changed hierarchical physics solver and updated docs.
  432. ### Graph2d
  433. - Added first iteration of the Graph2d.
  434. ### Graph3d
  435. - Now throws an error when constructing without new keyword.
  436. ## 2014-06-19, version 2.0.0
  437. ### Timeline
  438. - Implemented function `destroy` to neatly cleanup a Timeline.
  439. - Implemented support for dragging the timeline contents vertically.
  440. - Implemented options `zoomable` and `moveable`.
  441. - Changed default value of option `showCurrentTime` to true.
  442. - Internal refactoring and simplification of the code.
  443. - Fixed property `className` of groups not being applied to related contents and
  444. background elements, and not being updated once applied.
  445. ### Graph
  446. - Reduced the timestep a little for smoother animations.
  447. - Fixed dataManipulation.initiallyVisible functionality (thanks theGrue).
  448. - Forced typecast of fontSize to Number.
  449. - Added editing of edges using the data manipulation toolkit.
  450. ### DataSet
  451. - Renamed option `convert` to `type`.
  452. ## 2014-06-06, version 1.1.0
  453. ### Timeline
  454. - Select event now triggers repeatedly when selecting an already selected item.
  455. - Renamed `Timeline.repaint()` to `Timeline.redraw()` to be consistent with
  456. the other visualisations of vis.js.
  457. - Fixed `Timeline.clear()` not resetting a configured `options.start` and
  458. `options.end`.
  459. ### Graph
  460. - Fixed error with zero nodes with hierarchical layout.
  461. - Added focusOnNode function.
  462. - Added hover option.
  463. - Added dragNodes option. Renamed movebale to dragGraph option.
  464. - Added hover events (hoverNode, blurNode).
  465. ### Graph3D
  466. - Ported Graph3D from Chap Links Library.
  467. ## 2014-05-28, version 1.0.2
  468. ### Timeline
  469. - Implemented option `minHeight`, similar to option `maxHeight`.
  470. - Implemented a method `clear([what])`, to clear items, groups, and configuration
  471. of a Timeline instance.
  472. - Added function `repaint()` to force a repaint of the Timeline.
  473. - Some tweaks in snapping dragged items to nice dates.
  474. - Made the instance of moment.js packaged with vis.js accessibly via `vis.moment`.
  475. - A newly created item is initialized with `end` property when option `type`
  476. is `"range"` or `"rangeoverflow"`.
  477. - Fixed a bug in replacing the DataSet of groups via `Timeline.setGroups(groups)`.
  478. - Fixed a bug when rendering the Timeline inside a hidden container.
  479. - Fixed axis scale being determined wrongly for a second Timeline in a single page.
  480. ### Graph
  481. - Added zoomable and moveable options.
  482. - Changes setOptions to avoid resetting view.
  483. - Interchanged canvasToDOM and DOMtoCanvas to correspond with the docs.
  484. ## 2014-05-09, version 1.0.1
  485. ### Timeline
  486. - Fixed width of items with type `rangeoverflow`.
  487. - Fixed a bug wrongly rendering invisible items after updating them.
  488. ### Graph
  489. - Added coordinate conversion from DOM to Canvas.
  490. - Fixed bug where the graph stopped animation after settling in playing with physics.
  491. - Fixed bug where hierarchical physics properties were not handled.
  492. - Added events for change of view and zooming.
  493. ## 2014-05-02, version 1.0.0
  494. ### Timeline
  495. - Large refactoring of the Timeline, simplifying the code.
  496. - Great performance improvements.
  497. - Improved layout of box-items inside groups.
  498. - Items can now be dragged from one group to another.
  499. - Implemented option `stack` to enable/disable stacking of items.
  500. - Implemented function `fit`, which sets the Timeline window such that it fits
  501. all items.
  502. - Option `editable` can now be used to enable/disable individual manipulation
  503. actions (`add`, `updateTime`, `updateGroup`, `remove`).
  504. - Function `setWindow` now accepts an object with properties `start` and `end`.
  505. - Fixed option `autoResize` forcing a repaint of the Timeline with every check
  506. rather than when the Timeline is actually resized.
  507. - Fixed `select` event fired repeatedly when clicking an empty place on the
  508. Timeline, deselecting selected items).
  509. - Fixed initial visible window in case items exceed `zoomMax`. Thanks @Remper.
  510. - Fixed an offset in newly created items when using groups.
  511. - Fixed height of a group not reckoning with the height of the group label.
  512. - Option `order` is now deprecated. This was needed for performance improvements.
  513. - More examples added.
  514. - Minor bug fixes.
  515. ### Graph
  516. - Added recalculate hierarchical layout to update node event.
  517. - Added arrowScaleFactor to scale the arrows on the edges.
  518. ### DataSet
  519. - A DataSet can now be constructed with initial data, like
  520. `new DataSet(data, options)`.
  521. ## 2014-04-18, version 0.7.4
  522. ### Graph
  523. - Fixed IE9 bug.
  524. - Style fixes.
  525. - Minor bug fixes.
  526. ## 2014-04-16, version 0.7.3
  527. ### Graph
  528. - Fixed color bug.
  529. - Added pull requests from kannonboy and vierja: tooltip styling, label fill
  530. color.
  531. ## 2014-04-09, version 0.7.2
  532. ### Graph
  533. - Fixed edge select bug.
  534. - Fixed zoom bug on empty initialization.
  535. ## 2014-03-27, version 0.7.1
  536. ### Graph
  537. - Fixed edge color bug.
  538. - Fixed select event bug.
  539. - Clarified docs, stressing importance of css inclusion for correct display of
  540. navigation an manipulation icons.
  541. - Improved and expanded playing with physics (configurePhysics option).
  542. - Added highlights to navigation icons if the corresponding key is pressed.
  543. - Added freezeForStabilization option to improve stabilization with cached
  544. positions.
  545. ## 2014-03-07, version 0.7.0
  546. ### Graph
  547. - Changed navigation CSS. Icons are now always correctly positioned.
  548. - Added stabilizationIterations option to graph.
  549. - Added storePosition() method to save the XY positions of nodes in the DataSet.
  550. - Separated allowedToMove into allowedToMoveX and allowedToMoveY. This is
  551. required for initializing nodes from hierarchical layouts after
  552. storePosition().
  553. - Added color options for the edges.
  554. ## 2014-03-06, version 0.6.1
  555. ### Graph
  556. - Bugfix graphviz examples.
  557. - Bugfix labels position for smooth curves.
  558. - Tweaked graphviz example physics.
  559. - Updated physics documentation to stress importance of configurePhysics.
  560. ### Timeline
  561. - Fixed a bug with options `margin.axis` and `margin.item` being ignored when
  562. setting them to zero.
  563. - Some clarifications in the documentation.
  564. ## 2014-03-05, version 0.6.0
  565. ### Graph
  566. - Added Physics Configuration option. This makes tweaking the physics system to
  567. suit your needs easier.
  568. - Click and doubleClick events.
  569. - Initial zoom bugfix.
  570. - Directions for Hierarchical layout.
  571. - Refactoring and bugfixes.
  572. ## 2014-02-20, version 0.5.1
  573. - Fixed broken bower module.
  574. ## 2014-02-20, version 0.5.0
  575. ### Timeline
  576. - Editable Items: drag items, add new items, update items, and remove items.
  577. - Implemented options `selectable`, `editable`.
  578. - Added events `timechange` and `timechanged` when dragging the custom time bar.
  579. - Multiple items can be selected using ctrl+click or shift+click.
  580. - Implemented functions `setWindow(start, end)` and `getWindow()`.
  581. - Fixed scroll to zoom not working on IE in standards mode.
  582. ### Graph
  583. - Editable nodes and edges: create, update, and remove them.
  584. - Support for smooth, curved edges (on by default).
  585. - Performance improvements.
  586. - Fixed scroll to zoom not working on IE in standards mode.
  587. - Added hierarchical layout option.
  588. - Overhauled physics system, now using Barnes-Hut simulation by default. Great
  589. performance gains.
  590. - Modified clustering system to give better results.
  591. - Adaptive performance system to increase visual performance (60fps target).
  592. ### DataSet
  593. - Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.
  594. ## 2014-01-31, version 0.4.0
  595. ### Timeline
  596. - Implemented functions `on` and `off` to create event listeners for events
  597. `rangechange`, `rangechanged`, and `select`.
  598. - Implemented function `select` to get and set the selected items.
  599. - Items can be selected by clicking them, muti-select by holding them.
  600. - Fixed non working `start` and `end` options.
  601. ### Graph
  602. - Fixed longstanding bug in the force calculation, increasing simulation
  603. stability and fluidity.
  604. - Reworked the calculation of the Graph, increasing performance for larger
  605. datasets (up to 10x!).
  606. - Support for automatic clustering in Graph to handle large (>50000) datasets
  607. without losing performance.
  608. - Added automatic initial zooming to Graph, to more easily view large amounts
  609. of data.
  610. - Added local declustering to Graph, freezing the simulation of nodes outside
  611. of the cluster.
  612. - Added support for key-bindings by including mouseTrap in Graph.
  613. - Added navigation controls.
  614. - Added keyboard navigation.
  615. - Implemented functions `on` and `off` to create event listeners for event
  616. `select`.
  617. ## 2014-01-14, version 0.3.0
  618. - Moved the generated library to folder `./dist`
  619. - Css stylesheet must be loaded explicitly now.
  620. - Implemented options `showCurrentTime` and `showCustomTime`. Thanks @fi0dor.
  621. - Implemented touch support for Timeline.
  622. - Fixed broken Timeline options `min` and `max`.
  623. - Fixed not being able to load vis.js in node.js.
  624. ## 2013-09-20, version 0.2.0
  625. - Implemented full touch support for Graph.
  626. - Fixed initial empty range in the Timeline in case of a single item.
  627. - Fixed field `className` not working for items.
  628. ## 2013-06-20, version 0.1.0
  629. - Added support for DataSet to Graph. Graph now uses an id based set of nodes
  630. and edges instead of a row based array internally. Methods getSelection and
  631. setSelection of Graph now accept a list with ids instead of rows.
  632. - Graph is now robust against edges pointing to non-existing nodes, which
  633. can occur easily while dynamically adding/removing nodes and edges.
  634. - Implemented basic support for groups in the Timeline.
  635. - Added documentation on DataSet and DataView.
  636. - Fixed selection of nodes in a Graph when the containing web page is scrolled.
  637. - Improved date conversion.
  638. - Renamed DataSet option `fieldTypes` to `convert`.
  639. - Renamed function `vis.util.cast` to `vis.util.convert`.
  640. ## 2013-06-07, version 0.0.9
  641. - First working version of the Graph imported from the old library.
  642. - Documentation added for both Timeline and Graph.
  643. ## 2013-05-03, version 0.0.8
  644. - Performance improvements: only visible items are rendered.
  645. - Minor bug fixes and improvements.
  646. ## 2013-04-25, version 0.0.7
  647. - Sanitized the published packages on npm and bower.
  648. ## 2013-04-25, version 0.0.6
  649. - Css is now packaged in the javascript file, and automatically loaded.
  650. - The library uses node style dependency management for modules now, used
  651. with Browserify.
  652. ## 2013-04-16, version 0.0.5
  653. - First working version of the Timeline.
  654. - Website created.