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.

928 lines
32 KiB

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