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.

863 lines
29 KiB

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