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.

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