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.

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