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.

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